Skip to content

derikbf/Quick-Orders

Repository files navigation

About

This project is the result of the first Hackaton of Rails Bootcamp prometed by OneBiteCode. The project proposal is a ordering system for a restaurant.

Project

The project was built following the business rules from the Hackathon challenge.

quick-orders

Technology stack

This is monolith application using

  • ruby on rails 6.1.4.6
  • ruby 2.7.1
  • postgresql
  • bootstrap 5.1.3

Mockup

The initial design concept was built on figma. Mockup

Database diagram

WhatsApp Image 2022-02-15 at 11 18 30

Set up

  1. Clone the project
git clone https://github.com/derikbf/Quick-Orders.git
cd Quick-Orders
  1. Install dependencies
bundle install
yarn install || npm install
  1. Database configuration The .env is responsible for configuring the postgres database. Create a .env file on your rails root directory and configure the following environment variables:

Config-file-env

and than execute

rails db:setup
  1. Create admin user with rails create_user. Enter rails console
rails c
User.create!(first_name: "Abc", last_name: "def", email: "[email protected]", role: "admin", password: "Abc@123", password_confirmation: "Abc@123")

Role Options: admin || mesero || chef

  1. Start the project
rails s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published