Skip to content

A Django built web app where users can login to order food and add to cart for delivery restaurant. And also user can see the food's calories

Notifications You must be signed in to change notification settings

mehtadigisha/Takeout-Express

Repository files navigation

Takeout Express

Takeout Express is a food delivery application built with Django. It allows users to view menus, place orders and see calories.

Requirements

  • Python 3.7+
  • Django 3.0+

Setup

  1. Clone the repository: Start by cloning this repository to your local machine.

    git clone <repository_url>
  2. Navigate to the project directory: Change into the project directory.

    cd <project_directory>
  3. Create a virtual environment: This step is optional but recommended for isolating your project's dependencies.

    python -m venv venv
  4. Activate the virtual environment: Depending on your operating system, use the following commands to activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  5. Install dependencies: Install the required packages using requirements.txt.

    pip install -r requirements.txt
  6. Set up the database: Create the OTP model and apply migrations to set up the database.

    • Create migrations:

      python manage.py makemigrations
    • Apply migrations:

      python manage.py migrate
    • Create a superuser:

        python manage.py migrate
  7. Run the development server: Start the Django development server to test the application.

    python manage.py runserver
  8. Access the application:

    Open your web browser and go to http://localhost:8000.

About

A Django built web app where users can login to order food and add to cart for delivery restaurant. And also user can see the food's calories

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published