Skip to content

Instantly share code, notes, and snippets.

@daryllxd
Last active March 21, 2017 07:26
Show Gist options
  • Save daryllxd/a1c5886a18b8fa98c93b42be52c938d3 to your computer and use it in GitHub Desktop.
Save daryllxd/a1c5886a18b8fa98c93b42be52c938d3 to your computer and use it in GitHub Desktop.
Assignment - MeetLive
App Name: MeetLive
- Use database: MySQL
- Use CSS Framework: Bootstrap
- View to see all users (/users)
- Individual user view- must see interests (/users/:user_id/)
- Must be able to create User (through JSON)
- Must be able to update User attributes (through JSON)
- User must be able to add Interests (through JSON)
- User must be able to delete Interests (through JSON)
Users Table
- Email, FirstName, LastName, Age, Location, ImageUrl (All required) - Email must be email format, ImageUrl must be url format)
- User has_many Interests
Interests Table
- Name, Description (the Description is also the Name)
- List of Interest Names: Archery, Astronomy, Badminton, Basketball, Beer Pong, Bowling, Boylet Hunting, Clubbing (Going to a Club), Clubbing (Making Clubs)
- Use rake db:seed for this
Push to Github after
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment