.github/workflows | ||
app | ||
frontend | ||
migrations | ||
requirements | ||
.gitignore | ||
.gitlint | ||
.node-version | ||
.pre-commit-config.yaml | ||
alembic.ini | ||
db.sqlite3 | ||
dependencies_index.json | ||
Makefile | ||
pyproject.toml | ||
README.md | ||
repos_index.json |
Awesome FastAPI Projects
View the website: https://Kludex.github.io/awesome-fastapi-projects/
Local Development
Setup
Python and Virtual Environment
The instructions below assume you have pyenv installed. If you don't, use any other method to create a virtual environment and install Python 3.11.4.
- Install Python 3.11.4
pyenv install 3.11.4
- Create a virtual environment
pyenv virtualenv 3.11.4 awesome-fastapi-projects
- Activate the virtual environment
pyenv local awesome-fastapi-projects
Install dependencies and pre-commit hooks
There is a Makefile
with some useful commands to help you get started.
For available commands, run make help
. To install dependencies and pre-commit hooks, run:
make
Frontend
The frontend is built with React and Next.js. It is being statically built and served on GitHub Pages: https://Kludex.github.io/awesome-fastapi-projects/
To run the frontend locally, you need to install Node.js and pnpm.
The node version is specified in the .node-version
file.
To easily manage the node version, you can use fnm.
Then, run the following commands:
make front
This will install the dependencies and start the development server. The frontend will be available at http://localhost:3000.