HabitSensei is a habit tracking web application that helps you achieve your goals and become the hero of your own Ninja journey.
- EJS
- Bootstrap 5
- fontawesome
- Node.js
- Express.js
- MongoDB
- Mongoose
- cors
- bodyParser
- Clone the repository:
git clone https://github.com/am-vishal/HabitSensei.git
- Navigate to the project directory:
cd HabitSensei
- Install the dependencies:
npm install
- Create a
.env
file in the root directory and add the following: MONGO_URI= - Start the server:
npm start
- Open http://localhost:8000 in your browser.
├── config
│ ├── mongoose.js
├── models
│ ├── habitModel.js
├── routes
│ ├── habits.js
│ ├── index.js
├── views
│ ├── home.ejs
│ ├── weekly.ejs
├── index.js
├── package.json
- Home page:
/
- Displays a list of habits and a form to add new habits.
- Weekly view:
/weekly
- Displays a list of habits with checkboxes to mark them as completed for the week.
This project is licensed under the ISC License.