This project is a full-stack CRUD (Create, Read, Update, Delete) web application for managing courses. It features a Python FastAPI backend, a PostgreSQL database, and a React + Vite frontend. The app is containerized using Docker and orchestrated with Docker Compose for easy setup and deployment.
- Backend: Python, FastAPI, SQLAlchemy
- Database: PostgreSQL
- Frontend: React, Vite, Tailwind CSS
- Containerization: Docker, Docker Compose
- RESTful API for managing course items (create, read, update, delete)
- Persistent PostgreSQL database
- Modern React frontend for interacting with the API
- Easy local development with Docker Compose
- Docker and Docker Compose installed
-
Clone the repository:
git clone https://github.com/V-Silpin/crud-api-server-python.git cd crud-api-server-python -
Start all services:
docker compose up --build
This will start the PostgreSQL database, FastAPI backend (on port 8000), and React frontend (on port 3000).
-
Access the app:
- Frontend: http://localhost:3000
- Backend API docs: http://localhost:8000/docs
docker compose down
