Skip to content

RESTful API built with Ruby on Rails and PostgreSQL database. Stores cards, games, and users for the set game app.

Notifications You must be signed in to change notification settings

aresnik11/set-game-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set Game

Developed by Amy Resnik and Dan Behrman.

Set Game is single page app that lets user play the game SET.

The backend repo is deployed via Heroku, and the frontend repo (here) is deployed via Netlify. Visit https://best-set-game.netlify.app to play!

Netlify Status

Set Game

Demo

Set Game Demo

You can watch a live demo of the app here or visit https://best-set-game.netlify.app to play!

Technology Used

  • Vanilla JavaScript
  • Ruby on Rails
  • PostgreSQL database
  • Semantic UI
  • Custom CSS

The GitHub repo for the frontend can be found here.

Features

Set Game allows users to:

  • Start a new game
  • Read the rules of how to play
  • See high scores
  • Select cards that may be a set
  • Visually see if selected cards are a correct set
  • Check if there is a set on the board
  • Visually see if there is a set on the board, if there is not, the cards will reshuffle
  • See how much time has elapsed in their game
  • Pause the game
  • See how many cards are remaining in the deck

How To Use

Visit https://best-set-game.netlify.app to play!

To test on your own machine:

  1. Clone this repository
  2. Switch to Ruby version 2.6.1
  3. Make sure postgreSQL is running on your computer, if not, download and run it
  4. In terminal run
bundle install
rails db:create
rails db:migrate
rails db:seed
rails s
  1. Follow instructions here to run the frontend
  2. You will need to update config/initializers/cors.rb to accept origin requests from wherever your frontend will be hosted

Enjoy!

About

RESTful API built with Ruby on Rails and PostgreSQL database. Stores cards, games, and users for the set game app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published