Skip to content
Okay, should we get some coffee? ☕️
Ruby HTML CSS CoffeeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Updates most_popular Jan 14, 2020
bin Initial commit Dec 4, 2019
log Initial commit Dec 4, 2019
public Initial commit Dec 4, 2019
storage Initial commit Dec 4, 2019
test Initial commit Dec 4, 2019
tmp Initial commit Dec 4, 2019
.gitignore Adds /process folder to .gitignore Dec 4, 2019
.ruby-version Initial commit Dec 4, 2019
package.json Initial commit Dec 4, 2019

Central Perk

A coffee shop, point-of-sale application build with Ruby on Rails.



  1. Fork the repository
  2. Clone the files to your computer
  3. Run bundle install
  4. Run rake db:migrate
  5. Run rails s to start the server

Seeding the Database

To test out the app using dummy data, follow these steps.

  1. In the root level of the directory, create a .env file
  2. Add the following, replacing your_password with 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.
  1. Run rake db:seed to 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_ID and 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 .env file 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

Additional Links

You can’t perform that action at this time.