Git Product home page Git Product logo

rails_restaurant_reservation_system's Introduction

Dinelyy Restaurant Reservation System

Dinelyy is restaurant reservation system is B2B & B2C with fast table management, a powerful restaurant reservation system and guest management, Dinelyy gives you everything you need to stay organized, improve hospitality, and increase revenue.

This application requires:

  • Ruby 2.3.1
  • Rails 5.0.0

Getting Started

  • install rvm & postgresql (for MacOS: brew install postgresql, brew services run postgresql)
  • create postgres database and dinelyy user: see config/database.yml
  • ALTER DATABASE dinelyy_rails_development OWNER TO dinelyy;
  • GRANT ALL PRIVILEGES ON database dinelyy_rails_development TO dinelyy;
  • rvm install 2.3.1
  • rvm use 2.3.1
  • (create rvm gemset, if not already created by ruby-gemset file.)
  • gem install rails --version=5.0.0
  • bundle install
  • rake db:drop
  • rake db:create
  • rails db:migrate RAILS_ENV=development
  • rake db:seed
  • bundle exec rake acts_as_bookable_engine:install:migrations
  • bundle exec rake db:migrate
  • rails server puma

Admin credentials are in the config.

Documentation and Support

Summary: Providing discounts to patrons and light-weight reservation management by restaurant owners.

Remove protect_from_forgery under applicationcontroller

Required all json curl -H "Accept:application/json" localhost:3000/restaurants.json | json_pp

Add new json file curl -H "Content-Type: application/json" -X POST -d '{"name": "test1"}' http://localhost:3000/restaurants

Update a exit json file curl -H "Content-Type: application/json" -X POST -d '{"name": "test1"}' http://localhost:3000/restaurants/1

Debug

If met problem of Migrations are pending. To resolve this issue

  1. rake db:drop
  2. rake db:create
  3. rake db:migrate

Features

  1. Super Admin Dashboard for back-office.
  2. Restaurant owners can register their restaurant to this system.
  3. Restaurant admin can update following.
  • Restaurant information
  • Tables available and not available
  • Special offers on certain day
  • Booking status & transaction history
  1. Users can book table in any restaurant in this system.

Tech Used

  • Ruby on Rails 5.0
  • ERB Template for front-end
  • Postgresql
  • Rspec for unit test
  • Sidkiq for back-end process
  • Authorize.net for payment integration

rails_restaurant_reservation_system's People

Contributors

devking1116 avatar

Watchers

James Cloos avatar Marian 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.