Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.08 KB

SleepTracker

Sleep Tracker is a skeleton structure in coding and designing an API.

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:

  1. Contain a "Clock-In" operation, and return all clocked-in times, ordered by created time.
  2. Allow for users to be able to follow and unfollow other users.
  3. 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.

============================