- π 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.
Key features of the application are
- Fetch all orders
- Fetch all foods
- Authenticate users
- Add food
- Delete food
- Place orders
- Delete orders
-
We are a team of five and used Kanban board to manage our project tasks
-
Check here Kanban Board Kanban Board
-
Here is the link to kanban board initial state
This project can be used by anyone for any good purpose.
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby and Rails on you operating system eg. for Windows or Linux
- React.js
- Install nodejs
- PostgreSQL database installed
- Install Git
- Install a code editor of your choice
- Knwoledge of javascript and react
- Github account is required
Clone this repository to your desired folder:
git clone https://github.com/DaveZag/meal-master-backend.git
Install this project with:
cd meal-master-backend # Change directory into project folder
bundle install # Installs project dependencies
- Please run rails db:create and rails db:migrate.
- Check Ruby version and database.yml file. ( Insert your password if there is required)
To run the project, execute the following command:
rails s # for running the project in development mode
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
You can deploy this project using:
- Implement Mobile Version
- Add the ability to upload an Image
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project buy us a drink
I would like to acknowledge:
- Microverse for the opportunity to work on this project
- The creative common for the design
- Design from Murat Korkmaz on Behance
-
Is Rails still relevant?
-
Is it easy to learn Ruby on Rails
This project is MIT licensed.