SleepTime App

We will build a simple web application similar to sleepyti.me but limited to suggesting "wake up" times based on calculating sleep cycles.

  • A sleep cycle lasts about 90 minutes and a good night's sleep consists of 5-6 sleep cycles.
  • If you wake up in the middle of a sleep cycle, you will feel groggy even if you've completed several cycles prior to waking up.

We do this with the full knowledge that you (most likely) have never done anything like this before. There is going to be many new encounters: syntax, terminology, etc. Don't worry! You are not expected to learn it all in one tutorial. We will revisit every unfamiliar topic again and again throughout the course. In the end, you will look back and find this example an astonishingly easy one! So, buckle up for the ride, and when you face something you don't know about, take it in your stride.