ahirsharan / ToDo-App

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 53.9%Language:CSS 26.8%Language:EJS 19.3%