Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashishranjan9585/todo_application

Mern project
https://github.com/ashishranjan9585/todo_application

express jsonwebtoken mongoose reactjs tailwindcss

Last synced: 20 days ago
JSON representation

Mern project

Awesome Lists containing this project

README

        

## Todo App

This project contains a simple TODO APPLICATION
It has the following features -

- Anyone can create a Todo
- Anyone can see the existing todos
- Anyone can mark a todo as done

// initialize a node project
// put a package.json
Todo App
Using Mongoose, Express, zod and React

To Run
For Backend

## go to frontend folder

### npm install

### got to db.js file and add mongoose link (connect your database)

### mongodb+srv://NAME:[email protected]/DATABASE_NAME

- replace NAME, PASSWORD and DATABASE name

### node index.js

- For Frontend go to frontend folder

- npm install
- npm run dev
- Both Frontend and Backend Running

- Now, add title and description
- click on Inspect
- got ot Network
- In the Name section click todo
- In response section you can see the Todo Created Output
-You can manullay check in your database as well.
# localhost:3000/todos - to view all todos