Skip to content

Meal Master App is a web application for ordering food with user authentication and admin access. Users can select foods by theme, place orders, view their order history, and add or delete items (for admins only). The app includes a form for adding new items and a list of orders with food name, date, and city. Full API documentation is provided.

Notifications You must be signed in to change notification settings

DaveZag/meal-master-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“— Table of Contents

πŸ“– MEAL MASTER BACKEND

Meal-Master is a fullstack web application that is built on rails framework and React that enables a user to create an account, sign-in, order foods of their liking, and/or delete their orders.

Erd diagram

πŸ›  Built with

Tech stack

Client Server Database

Key features

Key features of the application are

  • Fetch all orders
  • Fetch all foods
  • Authenticate users
  • Add food
  • Delete food
  • Place orders
  • Delete orders

(back to top)

πŸ—Ž API documentation

local API Doc link

Remote API Doc link

Kanban Board

πŸš€ Live demo

(back to top)

πŸ’» Getting started

This project can be used by anyone for any good purpose.

To get a local copy up and running, follow these steps.

Pre requisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  git clone https://github.com/DaveZag/meal-master-backend.git

Install

Install this project with:

  cd meal-master-backend # Change directory into project folder
  bundle install # Installs project dependencies

Important steps after installing project to local machine

  1. Please run rails db:create and rails db:migrate.
  2. Check Ruby version and database.yml file. ( Insert your password if there is required)

Usage

To run the project, execute the following command:

  rails s # for running the project in development mode

Run tests

To run tests, run the following command:

  rubocop -A # for checking and correcting linter errors
  rake rswag # for checking the API documentation

Note: If for some reason you are not able to run the tests, please delete the folowing files:

  config/credentials.yml.enc
  config/master.key

  and run the following commands:
  EDITOR="code --wait" bin/rails credentials:edit

  and then run the tests again

Deployment

You can deploy this project using:

(back to top)

πŸ‘₯ Authors

πŸ‘€ Dave Zagabe

GitHub LinkedIn Twitter

πŸ‘€ Kasaija Kenneth

GitHub LinkedIn Twitter

πŸ‘€ Kaweesi Matia

GitHub LinkedIn Twitter

πŸ‘€ Olivier Kango

GitHub LinkedIn Twitter

πŸ‘€ Elijah Odjegba

GitHub LinkedIn Twitter

(back to top)

πŸ”­ Future Features

  • Implement Mobile Version
  • Add the ability to upload an Image

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project buy us a drink

(back to top)

πŸ™ Acknowledgments

I would like to acknowledge:

(back to top)

❓ FAQ

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

Meal Master App is a web application for ordering food with user authentication and admin access. Users can select foods by theme, place orders, view their order history, and add or delete items (for admins only). The app includes a form for adding new items and a list of orders with food name, date, and city. Full API documentation is provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published