Skip to content

πŸš€ Just deployed my full-stack app! βœ… FastAPI backend on Render βœ… React frontend on Netlify βœ… PostgreSQL database on Supabase βœ… Complete CRUD operations .Built a product management system with real-time data persistence .

Notifications You must be signed in to change notification settings

vibhor121/Crud-By-Fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Products Application

A full-stack application with React frontend and FastAPI backend.

Project Structure

β”œβ”€β”€ frontend/          # React frontend application
β”‚   β”œβ”€β”€ src/          # React source code
β”‚   β”œβ”€β”€ public/       # Static assets
β”‚   └── package.json  # Frontend dependencies
β”œβ”€β”€ backend/          # FastAPI backend application
β”‚   β”œβ”€β”€ main.py       # FastAPI application
β”‚   └── requirements.txt # Backend dependencies
└── README.md         # This file

Getting Started

Frontend (React)

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
  1. Start the development server:
npm start

The frontend will be available at http://localhost:3000

Backend (FastAPI)

  1. Navigate to the backend directory:
cd backend
  1. Install python3-venv if not already installed (Ubuntu/Debian):
sudo apt install python3.10-venv
  1. Create and activate virtual environment:
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Start the development server:
python main.py

The backend will be available at http://localhost:8000

Development

  • Frontend runs on port 3000
  • Backend runs on port 8000
  • CORS is configured to allow frontend-backend communication

About

πŸš€ Just deployed my full-stack app! βœ… FastAPI backend on Render βœ… React frontend on Netlify βœ… PostgreSQL database on Supabase βœ… Complete CRUD operations .Built a product management system with real-time data persistence .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published