Skip to content

A web application which help you to create, update, delete and track your habit on daily basis. It is user specific app, which mean a user can track their habit, and mark it as done , or not done. The project is built using a tech stack consisting of Node.js for the server-side scripting. Express for handling HTTP requests and routing.

Notifications You must be signed in to change notification settings

Arshu200/Habit_Tarcker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HabitTracker

A web application which help you to create, update, delete and track your habit on daily basis. It is user specific app, which mean a user can track their habit, and mark it as done , or not done. The project is built using a tech stack consisting of Node.js for the server-side scripting. Express for handling HTTP requests and routing. MongoDB for storing and managing the data and EJS for rendering the views and templates.

Installation

To run this application on your local machine, please follow these steps:

Clone this repository using the following command:

$ git clone 

Install the required dependencies using the following command:

$ npm install 

Start the application using the following command:

$ npm start 

Open the application in your web browser by visiting the following URL:

$ http://localhost:8000 

Usage

Once you have the application up and running, you can start using it by following these steps:

  • Sing-up/Sign-in into your account.
  • Click on the "Add Habit" button to create a new habit.
  • Enter the name of the habit you want to track.
  • Click on the "Save" button to save the habit.
  • To mark a habit as complete/incomplete for the day, simply click on the corresponding icon.
  • To delete a habit, click on the "Delete" icon next to it.
  • To see today's habits, click on "Show Daily" button.
  • To edit a habit, click on the "Edit" icon next to it.

Folder Structure

Habit Tracker
    |
    |               |--->css
    |--->assets---->|--->img
    |               |---> js
    |
    |               |--->flashMiddleware.js
    |--->config---->|--->mongoose.js
    |               |--->passport_local.js
    |
    |                  |-->habit_controller.js
    |--->controllers-->|-->home_controller.js
    |                  |-->user_controller.js
    |
    |               |-->habit.js
    |--->models---->|
    |               |-->user.js
    |
    |              
    |               |-->habit.js
    |--->routes---->|-->index.js
    |               |-->user.js
    |
    |              
    |              |--->_header.ejs
    |              |--->404.ejs
    |              |--->daily_view.ejs
    |              |--->forget_password.ejs
    |--->views---->|--->home.ejs
    |              |--->layout.ejs
    |              |--->user_sign_in.ejs
    |              |--->user_sign_up.ejs
    |              |--->weekly_view.ejs
    |
    |-->node_modules
    |-->.gitignore
    |--> index.js
    |--> package-lock.json
    |-->package.json
    

Screenshots

Home Page

image

Sign-up Page

image

Sign-in Page

image

Weekly View Page

image

Contributing

Contributions are always welcome! If you have any suggestions for improving this application, please feel free to create a pull request or open an issue.

About

A web application which help you to create, update, delete and track your habit on daily basis. It is user specific app, which mean a user can track their habit, and mark it as done , or not done. The project is built using a tech stack consisting of Node.js for the server-side scripting. Express for handling HTTP requests and routing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published