This is a FastAPI project built using FastAPI, which provides fast development and high performance.
First, start the development server:
uvicorn src.main:app --reload --host 0.0.0.0 --port 8000
Open http://localhost:8000 in your browser to view the result. There you will be able to see the main page of the site.
You can start editing the code in the project files. The server will automatically reboot when the changes are saved.
First, build the image:
docker-compose build
Then, start the container:
docker-compose up
Open http://localhost:8000 in your browser to view the result. There you will be able to see the main page of the site.
FastAPI provides automatically generated documentation for your API. You can open http://localhost:8000/docs to see the available API paths and their parameters.
For more information about FastAPI, visit the following resources:
- FastAPI Documentation - learn about FastAPI features and API.
- FastAPI User Guide - an interactive FastAPI tutorial.
- FastAPI GitHub Repository - your feedback and contributions are welcome!
A quick way to deploy your FastAPI application is to use the Vercel Platform from the creators of Next.js.
Check out the FastAPI deployment documentation for more details.