-
Clonar projeto:
git clone https://github.com/Genial-Ideias/boilerplate-fastapi.git
-
Criar ambiente virtual
python -m venv venv
-
Com ambiente virtual ativado, instalar dependências:
pip install -r requirements.txt
-
Criar arquivo .env baseado no
.env.example
DATABASE_URL=sqlite:///./store.db ENVIRONMENT=development DEBUG=True
-
rodar projeto:
python runserver.py
-
rodar testes:
pytest
-
rodar coverage:
coverage run -m pytest
coverage html
Genial-Ideias/boilerplate-fastapi-multidb
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Boilerplate FastAPI Multidb with SQLAlchemy
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published