This is the backend API for an e-commerce application built using FastAPI and an SQL database. This project is designed to demonstrate my skills in building a comprehensive e-commerce platform.
- Python installed on your machine
- FastAPI installed on your machine
- SQL database set up (e.g., MySQL, PostgreSQL)
- Clone the repository:
git clone https://github.com/samarthasthan/ecommerce-backend.git
- Navigate to the project directory:
cd ecommerce-backend
- Install dependencies:
pip install -r requirements.txt
- Set up the SQL database by creating a new database and updating the database credentials in the
main.py
file
- Start the FastAPI backend:
uvicorn main:app --host 0.0.0.0 --port 8000
- FastAPI for the backend API
- SQL database for storing data
- Python for the backend logic
If you'd like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License.