Code Monkey home page Code Monkey logo

pumpkin's Introduction

pumpkin

Food Ordering System

About

Pumpkin is a Food ordering system.

Hotels can SignUp/Login, edit their profile/details and create/edit items that they provide.They also have the option to close themselves or make an item unavailable or to opt in or out of delivery services. Hotels can change order and payment status of their pending orders.

Customers can SignUp/Login, add items to cart, change their quantity or delete items from cart and order available items provided by open Hotels. They can opt for delivery services of hotels (which provide delivery as a service) while placing order. They also have the option to cancel orders. Different orders are placed for different hotels.

Delivery Persons can SignUp/Login, view unassigned orders and accept orders which require delivery. They can change order and payment status of their pending orders.

All three types of users can view Pending, Completed and Cancelled orders.

Installation

  • System Package Requirements

  • Clone the repo

    git clone https://github.com/untrulynoxiusmj/pumpkin.git
    cd pumpkin
  • MySQL setup

    • Make sure MySQL service is up and running.
    • Look for db.sql file in the root directory of project
    • To create required database and tables, execute db.sql file
    • Change MySQL configuration
      cd config
      # Edit db.js file to change configuration
      
      # Look for the following block of code in db.js
      
      # ==========================================
      const connection = mysql.createConnection({
      host     : 'localhost',
      user     : 'root',
      password : 'root',
      database : 'pumpkin'
      });
      # ==========================================
      
      Here, change host, user and password as required.
    • You may need to execute this SQL query
      ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your password'
      Please refer to: mysqljs/mysql#2046 for more details.
  • Running the project

    Open terminal in root directory of project

    npm install
    npm start

    Navigate to localhost:5000 in your browser.

pumpkin's People

Contributors

untrulynoxiusmj avatar

Stargazers

Rajat Mehra avatar

Watchers

 avatar

Forkers

bitlegi0n

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.