prashantgo / edgeproject

Assignment for a job interview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REST API Built on FastAPI and Postgresql

Command To Run The App uvicorn --port 8000 --host 127.0.0.1 main:app --reload

Some Important Points To Remember

  • API design and sample payloads can be accessed via SwaggerUI on http://127.0.0.1:8000/docs
  • SQL query for the main table can be found in db.sql
  • docker-compose is also added to create the table at the startup for using postgres
  • db config (no worries!) is added in .env

About

Assignment for a job interview


Languages

Language:Python 100.0%