An open API service indexing awesome lists of open source software.

https://github.com/mehtadigisha/takeout-express

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
https://github.com/mehtadigisha/takeout-express

css django food-delivery food-delivery-application food-ordering html python webapp

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.

```bash
git clone
```

2. **Navigate to the project directory**: Change into the project directory.

```bash
cd
```

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

```bash
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**:

```bash
venv\Scripts\activate
```

- **On macOS/Linux**:

```bash
source venv/bin/activate
```

5. **Install dependencies**: Install the required packages using `requirements.txt`.

```bash
pip install -r requirements.txt
```

6. **Set up the database**: Create the OTP model and apply migrations to set up the database.

- **Create migrations**:

```bash
python manage.py makemigrations
```

- **Apply migrations**:

```bash
python manage.py migrate
```

- **Create a superuser**:

```bash
python manage.py migrate
```

7. **Run the development server**: Start the Django development server to test the application.

```bash
python manage.py runserver
```

8. **Access the application**:

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