- A singlepage ecommerce application with cart, order, payment, review and admin dashboard.
- Admin can create or edit product fron the dashboard and manage orders and users.
- User can review a product only after purchase the product.
- Ensure you have python3 installed
- Clone the repository and cd into backend folder
- Create a virtual environment using
virtualenv venv
- Activate the virtual environment by running
- Linux/Mac
source venv/bin/activate
- Windows
source venv\Scripts\activate
- Linux/Mac
- Install the dependencies using
pip install -r requirements.txt
- Using pipenv
pipenv install & pipenv shell
- Using pipenv
- Migrate existing db tables by running
python manage.py migrate
- Run the django development server using
python manage.py runserver
- Create Superuser using
python manage.py createsuperuser
- Clone the repository and cd into frontend folder
- Install all the depenencies
- NPM -
npm i
- YARN -
yarn
- NPM -
- Runs the app in the development mode.
- NPM -
npm start
- YARN -
yarn start
- NPM -
- Builds the app for production to the build folder
- NPM -
npm run build
- YARN -
yarn build
- NPM -