FastAPI project demo. Modify it to use on other projects.
The data.Json demo data was gotten from => jsonplaceholder.typicode.com
- FastAPI => pip install fastapi
- Uvicorn => pip install "uvicorn[standard]"
- Repo clone => git clone https://github.com/stevemats/PaginationDemo.git
On your terminal, navigate to project folder and run below commands:
Run the api in dev mode:
uvicorn main:app --reload
or
python -m uvicorn main:app --reload
Access the Json Data:
http://127.0.0.1:8000/posts
Access the Interactive Documentation:
http://127.0.0.1:8000/docs
Alternate Documentation:
http://127.0.0.1:8000/redoc

