Giter Site home page Giter Site logo

foodship's Introduction

DESCRIPTION

1. Online food ordering site 
2. Created using django

Features

  • Restaurants are shown as per your location
  • View and order foods from various resturants near you
  • View foods and resturants by caterories
  • Search for restaurants near you
  • Order food
  • Pay online/cash on delivery
  • Instamojo payment gateway integrated
  • Create user profile, add multiple addresses

Tech Stack

Client Side: HTML, SCSS, TailwindCSS

Server Side: Django, instamojo payment gateway integrated

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DEBUG = TRUE

SECRET_KEY = 'django-insecure-ig4&)no7x*mb(t_r@dh9x9%&b4u_0o+k8%%7bxf5*j$nhe*8sm''

Instamojo test credentials

API_KEY = "test_5b078119eb4fdf794bd218a0e58"

AUTH_TOKEN = "test_86486ea3926cbd174c5bb653a13"

ENDPOINT = "https://test.instamojo.com/api/1.1/"

Installation

Create a folder and open terminal and install this project by command

git clone https://github.com/Mr-Atanu-Roy/FoodShip

or simply download this project from https://github.com/Mr-Atanu-Roy/FoodShip

In project directory Create a virtual environment(say env)

  virtualenv env

Activate the virtual environment

For windows:

  env\Script\activate

Install dependencies

  pip install -r requirements.txt

To migrate the database run migrations commands

  py manage.py magemigrations
  py manage.py migrate

Create a super user

  py manage.py createsuperuser

And add some records(restaurants and products) from admin panel.

To run the project in localserver

  py manage.py runserver

Then go to http://127.0.0.1:8000 in your browser to see the project

For test online payment via debit card use the following instamojo credentials

Card Number: 4242 4242 4242 4242

Expiry: 01/25

CVV: 111

Author

foodship's People

Contributors

mr-atanu-roy avatar

Stargazers

Ligin Thomas CK avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.