Usage of Project: Implement a "Sleep tracking" application that allows users to keep track of when they go to bed and when they wake up. They will also be able to add and follow friends to have some nice competition of who can sleep the most or least. Knowing your friends sleeping times can help with early signs of depression or heavy stressful moments. Spotting a disruption in a friend or family member's sleep patters can go a long way.
restful API's Requirements:
- Contain a "Clock-In" operation, and return all clocked-in times, ordered by created time.
- Allow for users to be able to follow and unfollow other users.
- Display sleep records over the past week for their friends, ordered by the length of their sleep.
Additional details:
- Implement the model, DB migrations, and JSON API.
- Only two fields on the users: "id" and "name".
- No implementing of any user registration API for now.
============================