Skip to content

Node.js ToDo App integrated with MongoDB hosted on local server.

Notifications You must be signed in to change notification settings

ahirsharan/ToDo-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo-App

alt-text

Requirements

Clone this repository:

git clone https://github.com/ahirsharan/ToDo-App.git

Add the access link to the NoSQL database (eg. MongoDB atlas) to the TodoController.js file.

To run this repository, kindly run:

npm install
nodemon app.js

The app would be hosted at http://localhost:3000/todo

Code-Structure

The repository follows the MVC code structure.

.
|  
├── app.js                      # Main script
|
├── controllers           
|   ├── TodoController.js       # Controller script for the app
|
|
├── public/assets                     
|   ├── styles.css              # CSS script for frontend
|   ├── todo-list.js            # Functionality utility for add/remove
|  
├── views           
|   ├── todo.ejs                # View script. 
|
├── node_modules                # Node modules required      
|
├── package.json                # App info     
|   
├── package-lock.json           # Packages info
|
.

Functionality

  • To add: Enter the item and click on "Add Item" or press enter.
  • To remove: Click on the item which would be initially striked off followed by removal.

Acknowledgement

About

Node.js ToDo App integrated with MongoDB hosted on local server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages