Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI + React Full Stack Project

A full stack web application built with FastAPI (backend) and React (frontend).

🛠️ Technologies Used

  • Backend: FastAPI, Python, SQLAlchemy, Pydantic
  • Frontend: React.js
  • Database: PostgreSQL
  • Others: Uvicorn, psycopg2

📁 Project Structure

fastapi-tutorial/
|-- frontend/
|   |-- src/
|   |-- public/
|-- main.py
|-- models.py
|-- database.py
|-- database_models.py
|-- requirements.txt

🚀 How to Run

Backend

cd "fast api tutorial"
pip install fastapi uvicorn sqlalchemy psycopg2-binary pydantic
uvicorn main:app --reload

Frontend

cd frontend
npm install
npm start

📌 API Endpoints

Method Endpoint Description
GET / Welcome message
GET /products Get all products
GET /product/{id} Get product by ID
PUT /product/{id} Update a product
DELETE /product/{id} Delete a product

👨‍💻 Author

Divyansh Saxena

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages