This quickstart guide provides a high-level overview. See the full documentation for comprehensive information on features, installation, architecture, conventions, code style, and customization, deployment to cloud platforms, and contributing.
This template combines three of the most lightweight and performant open-source web development frameworks into a customizable webapp template with:
The template also includes full-featured secure auth with:
The design philosophy of the template is to prefer low-level, best-in-class open-source frameworks that offer flexibility, scalability, and performance without vendor-lock-in. You’ll find the template amazingly easy not only to understand and customize, but also to deploy to any major cloud hosting platform.
Core frameworks:
Additional technologies:
For comprehensive installation instructions, see the installation page.
For Ubuntu/Debian:
sudo apt update && sudo apt install -y python3-dev libpq-dev
For macOS:
brew install postgresql
For Windows:
pipx install poetry
poetry install
poetry shell
(Note: You will need to activate the shell every time you open a new
terminal session. Alternatively, you can use the poetry run
prefix
before other commands to run them without activating the shell.)
Copy .env.example to .env with cp .env.example .env
.
Generate a 256 bit secret key with openssl rand -base64 32
and paste
it into the .env file.
Set your desired database name, username, and password in the .env file.
To use password recovery, register a Resend account, verify a domain, get an API key, and paste the API key into the .env file.
docker compose up -d
Make sure the development database is running and tables and default permissions/roles are created first.
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
Navigate to http://localhost:8000/
mypy .
Your contributions are welcome! See the issues page for ideas. Fork the repository, create a new branch, make your changes, and submit a pull request.
This project is created and maintained by Promptly Technologies, LLC and licensed under the MIT License. See the LICENSE file for more details.