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.
The project was built following the business rules from the Hackathon challenge.
This is monolith application using
- ruby on rails
6.1.4.6
- ruby
2.7.1
- postgresql
- bootstrap
5.1.3
The initial design concept was built on figma. Mockup
- Clone the project
git clone https://github.com/derikbf/Quick-Orders.git
cd Quick-Orders
- Install dependencies
bundle install
yarn install || npm install
- 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:
and than execute
rails db:setup
- 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
- Start the project
rails s