- This is a project to create a habit tracker app, where user can define add habits and track them on daily basis.
- Tech Stack used: NodeJS,Express,MongoDB.
Create a habit tracker app, where we can define habits and track them.
- Add multiple habits to track like reading a book, going to the gym etc
- Track each habit everyday. These are the 3 statuses of a habit:
- Done - Mark the habit as done for a day
- Not done - Mark the habit as not done for a day
- None - User did not take any action on a habit for a day
- A view to show all current habits. Here give an add button where you can add a new habit to track.
- A view to display 7 days of each habit
- Show today where user can mark todays habit
- And show the previous 6 days and the status of that habit for each day
- A user can toggle between the three (above mentioned) statuses of a habit i.e. I can change todays status as done, not done or none anytime.
- Also I should be able to change any of the previous days status i.e. I can change the status of a habit for yesterday, day before yesterday or any previous 6 days as well
- You can create one default user and attach habits to that user
- Store the data in a DB.
- You can keep track of the longest streak and the number of days the user completed that habit