anubhav06 / eatit

🍜 Online food ordering web application made using React+Django
https://eatin.vercel.app/
MIT License
3 stars 0 forks source link
django react stripe twilio

EATIN

An online food ordering web application similar to UberEats / Swiggy made using React + Django

Try Out: https://eatin.vercel.app/

Django CI


Test Credentials 🔏

User Account

Username: anubhav-test  
Password: eatin-password

Restaurant Account

Email: evergreen@example.com
Password: eatin-restaurant-password

Features ✨

Technical Features ✨


Installation 🖥️

Split the terminal in two and follow the below steps in different terminals

Setup Backend 🔨

  1. Download Python if not installed already
  2. cd backend to go in that directory
  3. Rename example.env to .env & add respective enviroment variables
  4. Run pip install -r requirements.txt to install the dependencies
  5. Run python manage.py migrate to migrate the database
  6. Run python manage.py runserver to start the server
  7. Add a Restaurant Group in the admin panel by following the below steps
    • Go to django's admin panel from 127.0.0.1/admin/
    • Login with the superuser credentials
    • Click on Groups -> Add Group -> (add the below credentials)
    • Name: Restaurant
    • Choose the following permissions for the restaurant:
    • restaurants|food item|Can add food item 
      restaurants|food item|Can change food item
      restaurants|food item|Can delete food item
      restaurants|food item|Can view food item

Setup Frontend 🔨

  1. Download NodeJS if not installed already
  2. cd frontend to go in that directory
  3. Rename example.env to .env
  4. Run npm install to install the dependencies
  5. Run npm start to start the server

Documentation 📖

A detailed documentation for understanding the project is available here

Contributing 💪🏻

This repository is open to contributions.
Feel free to create a new issue or work on an existing issue
Make sure to read the contribution guildlines before jumping into it.

License ⚖️

Eatit is released under the MIT license