Skip to content

Epicodus Javascript team week project: creating a sleep habits tracker

Notifications You must be signed in to change notification settings

hollywilkalis/pocket-cheerleader

Repository files navigation

PocketCheerleader

Sleep Train

This project was generated with Angular CLI version 1.6.5.

Sleep tracker and sleep habits quiz

Development server

By Lena Ha, Griffin Longtin, Kevin Boyle, and Holly Wilkalis

Description

As coding students, sleep is always on our mind because our studies mean that we often don't get enough! And we know that it affects our physical and mental health, and our ability to focus on our coursework. So, we made this tracker and quiz that keeps record of your sleep and provides a visual display to help you identify sleep habits and trends.

Setup/Installation Requirements

The project repository can be found at https://github.com/hollywilkalis/pocket-cheerleader.git. To clone the project

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Known Bugs

Run ng e2e to execute the end-to-end tests via Protractor.

  • Currently the Firebase data server only stores one user record at a time.
  • On the sleep quiz, checking a checkbox input twice (to uncheck) will treat it as two positives.
  • Currently the charts are only coded to respond to data for January and February.

Further help

Support and contact details

To get more help on the Angular CLI use ng help or go check out the Angular CLI README. If you have any questions, contact a member of the project team via Github:

Technologies Used

This project was generated with Angular CLI version 1.6.5.

This application uses Angular2, ElectronJS, Typescript, npm, Bootstrap, ChartsJS and Angular Charts. The sleep data is stored in a Firebase database.

License

MIT license

Copyright (c) 2018 Lena Ha, Griffin Longtin, Kevin Boyle, and Holly Wilkalis