Django web application that allows you to shop for groceries online!
- Browsing the list of products by category
- Adding products to the cart - session framework
- Placing an order
- Payment gateway integration - Braintree
- Sending an e-mail notification after placing an order
- Execution of asynchronous tasks using Celery
- Using RabbitMQ for handling message protocols
- Export of orders to CSV files
- Generating bills in PDF format - WeasyPrint
- Sending PDF documents via e-mail
Clone the repo:
$ git clone https://github.com/ossker/ecommerce-app.git
$ cd myshop
If virtualenv is not installed:
$ pip install virtualenv
Create a virtual environment:
python3 -m venv env
Activate the environment everytime you open the project:
env/Scripts/activate
Install requirements:
$ pip install -r requirements.txt
Run migrations for database:
$ python manage.py makemigrations
$ python manage.py migrate
Create superuser for admin login:
$ python manage.py createsuperuser
Now you can run the server to see your application up & running π
$ python manage.py runserver
To exit the environment:
$ deactivate