rajxode / habitTracker-Nodejs

Habit tracker application made using Nodejs, Express , MongoDB and EJS.

Repository from Github https://github.comrajxode/habitTracker-NodejsRepository from Github https://github.comrajxode/habitTracker-Nodejs

habitTracker-Nodejs

This is a habit tracker project of Coding Ninjas made using Nodejs, Express, MongoDB, EJS. User can add multiple habits to their list, and can check their weekly status of habit (done, not done, pending).

Installation and Run

Follow these steps:

  • Get the code on your system.
  • Open terminal on your pc and navigate to the root directory of the project.
  • Run "npm install" command inside the terminal to install all the required dependencies.
  • Create a '.env' file inside root directory and define values for
    • PORT ( port on which your project will run )
    • MONGODB_URL ( URL of your mongoDB database for connecting to database )
  • Run 'npm start' command inside terminal to run the code.
  • Open your web browser and serach for 'localhost:{PORT}/' to see the output.

Features

  • View list of all the habits.
  • Add a new habit.
  • Check weekly status of added habits.
  • Toggle status of a habit on any particular day ( done, not done, pending ).
  • All data will get saved inside the database.

Tools used:

  • Nodejs
  • Expressjs
  • MongoDB
  • EJS
  • CSS
  • JavaScript

About

Habit tracker application made using Nodejs, Express , MongoDB and EJS.


Languages

Language:EJS 52.8%Language:JavaScript 41.2%Language:CSS 6.1%