Kludex / awesome-fastapi-projects

List of FastAPI projects! :sunglasses: :rocket:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

List of FastAPI projects! :sunglasses: :rocket:


Languages

Language:TypeScript 54.2%Language:Python 40.5%Language:Makefile 3.3%Language:CSS 1.2%Language:JavaScript 0.5%Language:Mako 0.4%