/fastapi

The demo about fastapi

Primary LanguagePython

  • Go to localhost:8000/docs to see docs API
  • How to run the app? It is easy just open terminal and use commands: then hit enter
  • Password for database postgres: 54321
  • Connect Postgres database to Python:
  • Use ORM (Object relational mapper) for management database
  • File database.py is a file for connection database (here we using posgresql) and backend