A coffee shop, point-of-sale application build with Ruby on Rails.
- Fork the repository
- Clone the files to your computer
rails sto start the server
Seeding the Database
To test out the app using dummy data, follow these steps.
- In the root level of the directory, create a
- Add the following, replacing
your_passwordwith a string to
.env. This will be the login for the user account Gunther. All seed orders will belong to and be nested under Gunther.
rake db:seedto populate the database with a user (Gunther), orders and menu items.
Enable Google Login
To enable oAuth with Google login, add the following to the
.env file, replacing the string
YOUR_CLIENT_SECRET with a your Google Client ID and Secret.
Detailed instructions on creating the Google Client keys can be seen here: Google Authentication Strategy for Rails 5 Application
Note: Since the
.envfile contains sensitive information, it should not be tracked, committed or push to Github. Please see this post on Hiding Sensitive Information with Environmental Variables in Ruby for more information.
Plans for the future
- Add most_popular flag to menu items on the order page
- Sort menu_items alphabetically on new order page
- Images and descriptions with menu_item selections