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).
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.
- 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.
- Nodejs
- Expressjs
- MongoDB
- EJS
- CSS
- JavaScript