Foodcart is a E-commerce system written in Python 3 and using Django framework. The application allows users add to cart Food from selected restaurant and checkout. It allows admins to add different restaurants and their menu. The system generates automatic notifications to the restaurants when an order is placed.
📢 Notice: This project has been initiated while learning Python 3 and the Django framework. The purpose of this project is purely for me the opportunity to learn coding and designing a e- commerce web system and eventually to experience the challenges a full stack developer might face in its day job. It is still under development and all features are not completed yet! If you notice any coding error or security issue or if you have recommendations on design, coding or recommendations in general do not hesitate to contact me.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See installing instructions for notes on how to deploy the project on a live system.
- Payment intergration
- Notifications
You will find hereafter what I use to develop and to run the project
- Python 3.8
- Django 3.0.3
- Virtualenv (not mandatory but highly recommended)
Get a local copy of the project directory by cloning "Foodcart" from github. git clone https://github.com/BabGee/foodcart.git
I use Virtualenv for developing this project so I recommend you to create a virtual environment, virtualenv venv, activate the virtual environment source venv/Scripts/activate and to install the requirements pip install -r requirements.txt.
Then follow these steps:
- Move to root folder
cd webcart - Create the tables with the django command line
python manage.py makemigrationsthenpython manage.py migrate - Create your admin log in credentials to add restaurants and their menu in the backend
python manage.py createsuperuser - Finally, run the django server
python manage.py runserver
I use exclusively Github
This is an open source project not under any particular license. However framework, packages and libraries used are on their own licenses. Be aware of this if you intend to use part of this project for your own project.