#team-awkey-backend
This is the backend component of a practice project to store photos, users, comments, and likes.
The group used GitHub, Trello, and Slack.
GET: "/photos"
GET: "/users/[user_id]/photos"
POST: "/users"
[
{photoInfo: {
id: [Integer as a string],
url: [String],
uploaderId: [Integer as a string]
},
photoComments:[{
id: [Integer as a string],
commenterId: [Integer as a string],
photoId: [Integer as a string],
content: [String]
},
{
id: [Integer as a string],
commenterId: [Integer as a string],
photoId: [Integer as a string],
content: [String]
},
{
id: [Integer as a string],
commenterId: [Integer as a string],
photoId: [Integer as a string],
content: [String]
}
],
photoLikes: [Integer]
}
]
- Paperclip [GitHub user: thoughtbot]
https://github.com/thoughtbot/paperclip
- Bootstrap [GitHub user: twbs]
This README is not yet finalized. Please check back soon for more information!