FastAPI REST API for user management with email/password & JWT authentication
Github actions support (Linting with flake8 y testing with pytest)
#create a new environment variables file
$ cp .env.example .env
then set the corresponding values to:
DB_PASSWORD=
ADMIN_PASSWORD=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM=
MAIL_TO=
MAIL_PORT=
MAIL_SERVER=
MAIL_FROM_NAME=
# run all services
$ docker compose up --build -d
http://localhost:8000/docs
$ pytest -vv
$ coverage run -m pytest
$ coverage report