Skip to content

This rails app is an easy way to randomly assign teams of 2 people on a daily basis.

Notifications You must be signed in to change notification settings

Cesurhan/matchup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matchup

This rails app is an easy way to randomly assign teams of 2 people on a daily basis.

screen shot 2017-05-05 at 18 16 35

Steps

These are the steps I followed when working on this app

  1. Setting up project
  2. Adding devise
  3. Adding test
  4. Adding navbar
  5. Styling views
  6. Adding admin & teacher
  7. Adding seeds
  8. Adding test again
  9. Adding factories and faker
  10. Adding Promote & Demote
  11. Adding generate matches

Databse Structure

  1. User
  • devise-defaults +
  • admin:boolean
  • teacher:boolean
  1. Profile
  • first_name:string
  • last_name:string
  • photo:string
  • user_id:integer
  1. Match
  • match_id:integer
  • user_id:integer(belongs_to :user)
  • date:date

Running Locally

Make sure you have Ruby and Bundler installed.

git clone git@github.com:Cesurhan/matchup.git
cd matchup
bundle install
rils db:create db:migrate db:seed
rails server

Related documentation

For more information about using Devise, see these links:

About

This rails app is an easy way to randomly assign teams of 2 people on a daily basis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published