Skip to content

anaconda1337/apia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIA (Api Angelina)

  • Example FastAPI following good practices and using the best tools for development.

Features

  • FastAPI
  • Pydantic
  • Docker
  • Alembic
  • Postgres
  • Firebase
  • Pytest
  • Flake8
  • Mypy

Requirements

  • To be defined

Installation

  1. Bring up the database with docker-compose
docker compose up --build -d
  1. Run the migrations
alembic upgrade head
  1. Run the application
uvicorn app.main:app --reload

Usage

  • To be defined

Notes

  • Setup Firebase or remove the dependencies from the routes

Curl

  1. User IdToken from Firebase:
    curl --request POST \
      --url 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=[FIREBASE_API_KEY]' \
      --header 'Content-Type: application/json' \
      --data '{
      "email": "user@domain.tld",
      "password": "12345678",
      "returnSecureToken": true
    }'

About

fastapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors