A simple habit tracking app based on NodeJS + EJS for user habit management on daily and weekly basis.
- HTML, CSS (for frontend interface)
- Javascript, EJS
- NodeJS and expressJS (for backend server)
- MongoDB (as database to store habits and users)
- Install nodejs and MongoDB on your system.
- Open your terminal and run the following :
cd HABIT npm install npm start
- Now the Server runnning, open the link (http://localhost:3000) to acess the interface.
- app.js - Entry point of our application. This file defines our express server.
- assets - This folder contains static files like styles(css),svg.
- config - This folder contains configuration of Mongoose(schema and model)
- models - This folder contains schema definition of our mongoose models.
- routes - This folder contains all the routes for our API.
- views - This folder contains layout, partials and templates to be displayed to the user.
- email: [email protected]
- email: [email protected]