Simple Food Ordering System in Python using Django Framework Free Source Code

Language

Food Ordering System using Django in Python

This project is entitled Food Ordering System. This is a web-based application developed in Python and Django Framework. This simple project provides an Online Food Ordering System for the Food Shop or Store. This Food Ordering System helps the food store's customer to easily order their desired foods. It contains or consists of different user-friendly features and functionalities. It also has a pleasant light user interface with the help of Bootstrap Framework to give end-users a better experience while using or browsing the web application.

About the Food Ordering System

This was developed using the following Libraries:

  • Python
  • Django
  • SQLite3
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Pillow Library
  • Fontawesome
  • Bootstrap
  • django-tinymce4-lite
  • jsmin
  • sqlparse
  • pytz

This Food Ordering System Project has 2 different user interface which is for the Admin or the Shop's Management and Customers. The application requires the users to log in a registered and valid system user credentials to gain access to features and functionalities. On this Food Ordering System, the admin or the management can only manage their product list using Django's Built-In Admin panel which means it requires a superuser to gain access. The Customers can simply create or register their account by filling the required fields of the registration form. After the successful registration or login, customers can explore the different foods that the shop is offering. By default, users will be redirected to the list of the food categories. The categories on this project are Pizza, Subway Dishes, Salad, Pasta, and Diner Platter food. Customers or Users can select up to 3 different toppings for each ordered pizza. The Admin Users must log in to the Customer Site to mark the pending orders to deliver.

Features

  • Login and Registration
  • Home
  • Category List
  • Order Food or Dishes
  • Add Food or Dishes to Cart
  • List Cart Items
  • Remove Item/Items from Cart
  • Place Order
  • Mark Order as Delivered
  • Admin Panel
  • Logout

Sample Snapshots

Login Page

Food Ordering System

Registration Form Page

Food Ordering System

Home Page (Category List)

Food Ordering System

Food Item List (for Pizza Category)

Food Ordering System

Cart List

Food Ordering System

Order List Page

Food Ordering System

Administration Site

Food Ordering System

The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.

How to Run

Download/Install the following

  • Python (I used v3.9.1)
  • PIP (for python modules installation)

Setup/Installation

  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your Terminal/Command Prompt window. (make sure to add "python" and "pip" in your environment variables)
  3. Change the working directory to the extracted source code folder. i.e. cd C:\Users\Personal-23\Desktop\django_fos
  4. Run the following commands:
    • pip install -r requirements.txt
    • python manage.py migrate
    • python manage.py runserver
  5. Keep the terminals open and running.
  6. Open a web browser and browse the Food Ordering System http://localhost:8000/ or http://127.0.0.1:8000/

Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.

Access Information for AdminSite

SuperUser/Admin
Username: admin
Password: admin123

Sample Customer
Username: mcooper
Password: test#123

http://127.0.0.1:8000/admin for the Django's Admin Site.

DEMO VIDEO

That's it! I hope this will help you with what you are looking for. Maybe you'll find this Food Ordering System useful and can help you with your future Python Django Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
4 + 15 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.