Code Monkey home page Code Monkey logo

restaurant-menu's Introduction

Restaurant Menu

Restaurant Menu menu display

Restaurant Menu is a complete Ruby on Rails MVC application that allows users to create and display restaurant menus.

Users can have many restaurants. A Restaurant can have many menus with categories and items.

Here's a demo video.

Features

  • Third party user authentication with OAuth 2.0 Facebook strategy
  • Standard user authentication with BCrypt
  • Server side Active Record validations and client side form display of validation errors for validating user input Restaurant Menu new menu error message Restaurant Menu create account error message Restaurant Menu password confirmation error message
  • Access recently updated items in the Items tab or at /items/recently_updated Restaurant Menu recently updated items
  • Quickly filter items without prices in the Items tab or at /items/no_price
  • Option to include item image on item show page Restaurant Menu item page
  • Follows MVC framework
  • Uses RESTful routes
  • Nested Item resource using RESTful routes (i.e. /menus/1/items, /menus/1/items/new)
  • Styled using Bootstrap

Restaurant Menu home

Restaurant Menu restaurant page

Restaurant Menu all items

Restaurant Menu new item form

Restaurant Menu new menu form

Installation

Clone repository.

In your terminal, cd to the cloned file.

Run bundle install and rails db:migrate.

You may also run rails db:seed to seed the database with some starter data.

Usage

Run rails s to start your server and visit http://localhost:3000.

Create a new account and add a new restaurant to start building your restaurant menus.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/natjng/restaurant-menu. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Restaurant Menu project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

restaurant-menu's People

Contributors

natjng avatar

Stargazers

Tyler Riedal avatar Oleg Mokhniuk avatar  avatar

Watchers

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