Skip to content

SaiKalyan124/OrderCart-using-REACT-MySQL-FastAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Order Cart Application

This project is a simple web application that allows users to manage orders and customers using a MySQL database. The application is built using FastAPI on the backend and React on the frontend.

Screenshots

Data retrived from XML : Screenshot (13)

User can amend/update orders : image image

DB design :

image

Installation

  • Install Node.js, Python
  • To run this project, you will need to install its dependencies.
pip install -r requirements.txt
  • Command will install all the required packages listed in the requirements.txt file.

  • Clone the repository to your local machine.

  • Install the necessary dependencies.

  • Set up a MySQL database and configure the connection details in mysql_config.py.

  • Run the backend using : uvicorn main:app --reload

  • Run the frontend using : npm start

Usage

Once the application is running, you can access it in your browser by navigating to http://localhost:3000. The home page displays a list of orders. You can also add a new order or edit an existing one by clicking the corresponding buttons.

API Endpoints

The following API endpoints are available:

  • GET /get_order_data: Returns a list of all orders in the database.
  • PUT /order_update/: Updates an existing order with the specified ID.

Youtube Link

https://youtu.be/jFfzTLQBv9w

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages