Skip to content

am-vishal/HabitSensei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HabitSensei

HabitSensei is a habit tracking web application that helps you achieve your goals and become the hero of your own Ninja journey.

Tech Stack

Front-End

  • EJS
  • Bootstrap 5
  • fontawesome

Back-End

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • cors
  • bodyParser

Installation

  1. Clone the repository: git clone https://github.com/am-vishal/HabitSensei.git
  2. Navigate to the project directory: cd HabitSensei
  3. Install the dependencies: npm install
  4. Create a .env file in the root directory and add the following: MONGO_URI=
  5. Start the server: npm start
  6. Open http://localhost:8000 in your browser.

File Structure

├── config
│ ├── mongoose.js
├── models
│ ├── habitModel.js
├── routes
│ ├── habits.js
│ ├── index.js
├── views
│ ├── home.ejs
│ ├── weekly.ejs
├── index.js
├── package.json

Usage

  • 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.

License

This project is licensed under the ISC License.

About

HabitSensei: Helping you achieve your goals and become the hero of your own Ninja journey.

Topics

Resources

Stars

Watchers

Forks