-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
15 lines (13 loc) · 960 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
REQUIREMENT:
===========
Deckard likes to create ASCII art masterpieces in his free time but wishes he had a way to save and view them online.
Deckard has decided to hire you as a contractor to help him realize his dream.
To start, Deckard would like you to create a Rails app. The specs that Deckard has outlined for this app are:
- 2 models, Collection and Artwork
- Collection has a name (string) and description (string) property. Name is required.
- Artwork has a title (string) and image (text) properties. Title and image are required.
- Artworks are owned by a collection
- Should be able to view the list of collections at the path /collections and an individual collection at /collections/:id
- Should be able to create new collections
- Should be able to view the artworks in a collection at the path /collections/:collection_id/artworks
- Should be able to create new artworks at the path /collections/:collection_id/artworks/new