An E-commerce project for CSE299
Table of Contents
Our goal is to develop a functioning e-commerce website where customers can visit and browse necessary groceries of everyday life, add them to their cart, and checkout to complete their purchase as they would in a real-life grocery shop. Our vision is to make the website as feature-rich, user-friendly, and accessible as possible. The ultimate vision is definitely to add all the features an e-commerce website can have, whether it’s a feature related to UI/UX or a feature that is part of secure online payment.
Install these before running the project
- Clone the repo
git clone https://github.com/Jamiul-Bari/CSE299.git
- Configuration
- Configure the frontend
- Open your terminal or Command Line inside the root directory and change your directory to /frontend
cd frontend
- Install required npm packages
npm install
- Now to start the React Development Server
npm start
- Configure the Backend
- Open your terminal or Command Line inside the root directory.
- Install virtualenv python package
pip install virtualenv
- Create a virtual environment in the root directory for this project using virtualenv.
virtualenv venv
- Activate your virtual env “venv” before installing any python package for this project. Activate (For Windows) using -
venv/scripts/activate
- Now if your virtual environment activated correctly, you will see "venv" written in the command line interface.
- Now install the required packages for the backend as per "requirements.txt". Simply, run this command while you are in the root directory (the directory containing "requirements.txt")
pip install -r requirements.txt
- Configure the frontend
- Now the project frontend (React) is what users will use. Since we are not rendering templates through Django.