Skip to content

ronit16/node.js-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo List App

A simple Todo List application built with Node.js and MongoDB.

Description

This project is a basic Todo List application implemented using Node.js as the server-side framework and MongoDB as the database. It allows users to manage their tasks, mark them as completed, and perform basic CRUD operations on the tasks.

Features

  • Create, Read, Update, and Delete tasks
  • Mark tasks as completed
  • MongoDB database for persistent storage
  • RESTful API for task management

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Installation

  1. Clone the repository:
git clone https://github.com/your-username/todo-list-app.git
  1. Change into the project directory:
cd todo-list-app
  1. Install dependencies:
npm install

Configuration

Create a .env file in the root directory of the project.

Add the MongoDB connection string:

MONGO_URI=mongodb:https://localhost:27017/todo-list

Replace the connection string with your MongoDB server details.

Usage

Start the MongoDB server:

mongod

Start the Node.js application:

npm start

The application will be accessible at https://localhost:3000.