
Build a full stack expense tracker with a Python backend, PostgreSQL, FastAPI, and SQLAlchemy; implement CRUD, models and schemas, and explore backend frontend integration.
Learn to transform Spanx Tracker front end from React for Beginners into a full stack application. Build fast API backends, PostgreSQL databases, real CRUD APIs, and connect React to servers.
Download the course resources, unzip into the front-end folder, and open in Visual Studio Code. Install Node.js, run npm install in the front-end, then npm run dev to view locally.
Explore the structure of a React front-end app by walking through the components and data folders, app.js, and how local storage and dummy data populate the root div.
Install and verify PostgreSQL on Windows, connect to the server, and use pgAdmin 4 to manage databases, view schemas, and perform CRUD operations.
Learn to verify Postgres SQL installation, locate the bin folder, and add psql to your system path using environment variables, so you can run the Postgres CLI from anywhere.
Install PostgreSQL on macOS via Homebrew, verify version with psql --version (prefer 17+), start via brew services start postgresql, and connect to list databases with \l.
Install pgAdmin or VS Code SQLTools to visualize and manage Postgres databases with a GUI, connect to Postgres, and explore the public schema and tables.
Learn three practical methods to create a Postgres database: through BG Admin with templates, via the CreateDB command, and by logging into psql.
Explore sql fundamentals by creating a sample database and a users table with an auto-incrementing id, varchar fields, and a primary key using terminal and pgAdmin.
Learn sql basics and the full CRUD in the terminal with Postgres psql, inserting, selecting, updating, and deleting data in a users table.
Learn to install Python on Windows, add it to the path, verify with Python --version, and use the Python shell to run basic commands.
Learn how to install Python on macOS with brew and manage versions (like 3.10 or 3.14), including using Python 3 and verifying the setup for full stack web development.
Build a simple Python server that listens for HTTP requests, connects front end and back end, and sets the stage for frameworks like Flask or FastAPI.
Explore how a Python backend serves front-end requests using native JavaScript, REST, and fetch, handles asynchronous responses, and configures access control headers to address cross-site forgery request policy.
Set up a Windows development environment with Git Bash and VS Code, aligning commands with Mac and Ubuntu. Create and activate a Python virtual environment (.venv), install psycopg2-binary with pip.
Mac users learn to create and activate a Python virtual environment to isolate project packages, install cycog-bg-2-binary for Postgres SQL, and manage dependencies with pip and pip freeze.
Connect to the database by starting the server on port 8000 and using the CycubPG driver for PostgreSQL, then verify the connection via the browser at localhost:8000.
Learn to execute queries with the db driver by obtaining a cursor and using cursor.execute for select all from users, then insert, update, and delete with commits.
Learn to fetch data from a database via the frontend with a Python server using doGet, and return JSON for display, preparing for high-level tools like FastAPI and SQLAlchemy.
Demonstrate displaying users in the frontend by fetching JSON, building a table with a tbody, and rendering id, name, and email, while outlining GET and POST interactions with the backend.
Learn to set up the backend folder structure for a FastAPI project, creating core files such as main, database, models, schemas, and crud, plus expenses routes.
Set up a python backend environment, install fastapi and uvicorn, and run a fastapi server to serve json responses on port 8000, demonstrating how a framework simplifies backend development.
Connect your app to PostgreSQL via SQLAlchemy ORM, install required packages, configure .env, and set up engine, declarative base, and session in the backend.
Learn to connect a FastAPI server to a PostgreSQL database using SQLAlchemy, configure the engine and sessionmaker, and test the connection with uvicorn.
Create your first model for the expenses table with SQLAlchemy, defining id, description, amount, date, and category, then install the VS Code SQL Tools extension to connect to Postgres.
Create api schemas with Bidantic to validate incoming expense data and shape responses, matching your SQLAlchemy models. Define expense base and expense response with an id and enable object-friendly serialization.
Create a get expenses route in FastAPI using SQLAlchemy to fetch and order expenses by id, returning a validated list via schemas.
Create a post expense endpoint using FastAPI and Swagger UI to validate with expense create schema, insert into the database with a session, then verify via Swagger docs.
Implement a put request to update an expense by id, validating existence in the db, updating fields like description, amount, date, and category, and returning the updated record.
Delete expenses by sending delete requests, locate the expense by ID, perform a DB delete, and return a confirmation message to complete the CRUD flow.
Master the first frontend and backend connection in full stack web development for beginners by centralizing api calls in an expenses service and fetching expenses from the backend.
Learn to create expenses from React by implementing a createExpense function that posts JSON to a centralized API, handles submit, and refreshes expenses from the database.
Create a deleteExpense function in React that sends a delete request with the expense ID, fetches updated expenses, and updates the state to reflect removal.
Learn how to update expenses from a React frontend by building an update expense API request, wiring it into the expense service, and refreshing the data to reflect changes.
Learn to back up Python dependencies by using pip freeze to create a requirements.txt and restore them with pip install -r requirements.txt, ensuring environments and projects stay usable.
Welcome to Full Stack Web Development for Beginners — Build a Real Expense Tracker with Python, FastAPI, and React.
This project-based course is designed to help students transition from frontend development into real-world full stack application development using Python.
Instead of learning disconnected concepts or jumping between random tutorials, you will progressively build a complete full stack expense tracker application while learning how modern frontend applications, backend APIs, and databases work together in real-world development.
This course is beginner-friendly and designed for students who already understand basic React fundamentals such as:
components
props
state
forms
useEffect
and now want to learn how real full stack systems are built professionally using Python backend development.
Throughout the course, you will learn:
PostgreSQL fundamentals
SQL CRUD operations
Backend API development with FastAPI
Database architecture
SQLAlchemy ORM
Pydantic schemas
Real CRUD APIs
Frontend-to-backend communication
Full stack application structure
Persistent backend storage
Rather than hiding important concepts behind “magic,” this course teaches you progressively step by step so you can truly understand how everything connects together into a complete full stack system.
You’ll begin by learning important PostgreSQL and SQL fundamentals, including:
creating databases and tables
understanding CRUD operations
using pgAdmin and psql
understanding how relational databases actually work
Then we move into backend development fundamentals using raw Python servers before transitioning into FastAPI, where you’ll build:
real backend APIs
SQLAlchemy models
Pydantic schemas
PostgreSQL persistence
scalable backend architecture
Finally, we connect the React frontend to the FastAPI backend and progressively replace frontend-only logic with real backend persistence and full stack functionality.
By the end of this course, you will have built a complete full stack expense tracker application featuring:
React frontend
Python FastAPI backend
PostgreSQL database
SQLAlchemy ORM
Real CRUD functionality
Persistent backend storage
This is a fast-paced, practical, project-based course focused on helping students build confidence through real-world application development.
If you’re ready to move beyond frontend-only applications and start learning real Python-powered full stack development, this course is for you.