Code Monkey home page Code Monkey logo

book-a-meal's Introduction

Build Status Coverage Status Maintainability Test Coverage

Book-A-Meal is an application that allows customers to make food orders and helps the food vendor know what the customers want to eat.

Table of Contents

Trello Board Stories

Project is currently being built with the Project Management Tool, Trello. You can find the template HERE

Template

Template is hosted at LINK

API Deployment

API is deployed at https://api-meal-booking.herokuapp.com

Documentation

Documentation page still in backlog

Technologies

  • HTML
  • CSS
  • JavaScript
  • NodeJS - Runtime Environment
  • ExpressJs - Web Application Framework

Supporting Packages

Linter

Compiler

  • Babel - Compiler for Next Generation JavaScript

Test Tools

  • Mocha - JavaScript Test Framework for API Tests (Backend)
  • Chai - TDD/BDD Assertion Library for Node

Features Implemented

Users (Caterers and Customers)

  • Users should be able to signin and signup on the app as either a caterer or a customer

Caterers

  • Caterers should be able to create meals
  • Caterers should be able to modify meas
  • Caterers should be able to delete meals
  • Caterers should be able to setup menu for a particular day
  • Caterers should be able to modify menu for a particular day
  • Caterers should be able to get a particular order
  • Caterers should be able to mark a pending order as delivered
  • Caterers should be able to get all their orders on the platform
  • Caterers should be able to get all their orders for a specific day
  • Caterers should be able to get notifications when their meals are ordered

Customers

  • Customers should be able to make an order
  • Customers should be able to modify or cancel an order within 100 seconds of creating it
  • Customers should be able to get the menu for the day
  • Customers should be able to get a particular order
  • Customers should be able to get all their orders on the platform
  • Customers should be able to get all their orders for a specific day

Getting Started

Installation

  • Install NodeJS on your computer
  • Clone this repository using git clone https://github.com/vincentiroleh/book-a-meal
  • Run npm install to install all dependencies
  • Run npm run build to build the project
  • Run npm start to start the server
  • Navigate to localhost:3000 in browser to access the application

Development

You can run npm run dev in development to use Nodemon

Nodemon watches for file changes and restarts your server.

Testing

Prerequisites

Testing with Postman

MEAL

 {
   id:   int,
   name: 'String',
   size: 'String',
   price: 'Int',
 }
Testing: Get all the meal options
Testing: Add a meal option
Testing: Update the information of a meal option
Testing: Remove a meal option

MENU

 {
   id:   int,
   title: 'String',
   date: 'Data',
   list: '[]',
 }

Testing: Setup the menu for the day
Testing: Get the menu for the day

ORDER

 {
   id:   int,
   meal: 'String',
   quantity: 'int',
   delivery_address: 'string',
 }

Testing: Select the meal option from the menu
Testing: Modify an order
Testing: Get all the orders

Limitations

  • Application still in progress
  • Online Documentation yet to be implement

Contributing Guide

  • Fork the repository
  • Make your contributions
  • Create a pull request against the develop branch

Author

Vincent Iroleh

book-a-meal's People

Contributors

dependabot[bot] avatar vincentiroleh avatar

Stargazers

 avatar

Watchers

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