Skip to content

AadCode7/FastAPI_Posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer Guide -

  1. Create a virtual environment -> conda create -n myenv -y

  2. pip install fastapi[all] pip install sqlalchemy pip install bcrypt==4.3.0 pip install python-jose[cryptography] pip install alembic

  3. Run terminal -> uvicorn app.main:app --reload

Important Tech -

  1. FastAPI (Test - 127.0.0.1/docs#/)
  2. Uvicorn - Run server
  3. Postman - Test API
  4. PostgreSql (Driver - Psycopg2, SQLAlchemy, Alembic)
  5. Alembic - Realtime changes to database

Info CHeck

  1. Check env location -> echo %CONDA_PREFIX%
  2. Check installed libraries -> pip freeze
  3. Secret key generator -> openssl rand -hex 32

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published