A coffee shop, point-of-sale application build with Ruby on Rails.
☕️
- Fork the repository
- Clone the files to your computer
- Run
bundle install
- Run
rake db:migrate
- Run
rails s
to start the server
To test out the app using dummy data, follow these steps.
- In the root level of the directory, create a
.env
file - 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.
PASSWORD=your_password
- Run
rake db:seed
to populate the database with a user (Gunther), orders and menu items.
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.
GOOGLE_CLIENT_ID="YOUR_CLIENT_ID"
GOOGLE_CLIENT_SECRET="YOUR_CLIENT_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.
- 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