🚀 Use LAUNCH75 Promo Code At Checkout for 75% Off. Limited Time. Expires in 3 days, 18 hours, 51 minutes, 10 seconds.

Full Stack FastAPI + Next.js Tutorial

GitHub Repos:

Description

Build a basic To Do Crud App with FastAPI and Next.js.

Terminal

mkdir fullstackbook-todo-fastapi
cd fullstackbook-todo-fastapi
python3 -m venv venv
. venv/bin/activate
pip install fastapi "uvicorn[standard]" alembic psycopg2 pytest requests
pip freeze > requirements.txt
uvicorn main:app --reload
createdb fullstackbook-todo-fastapi
psql fullstackbook-todo-fastapi
alembic init alembic
alembic revision -m "create todos table"
alembic upgrade head
alembic downgrade -1