Todo List App
This is a full-stack Todo List application built with React for the frontend and Node.js for the backend. The frontend and backend are in the same repository, with the backend code located in the server
directory.
- Add, update, and delete tasks
- Mark tasks as completed
- Responsive design
- RESTful API for managing tasks
-
Clone the repository
git clone https://github.com/AkhileshBhasale/TodoApp cd TodoApp
-
Install frontend dependencies
npm install
-
Install backend dependencies
cd ../server npm install
-
Start the backend server
cd server node todoServer.js
The server will run on http://localhost:3000.
-
Start the frontend
cd .. npm run dev
The frontend will run on http://localhost:5173/ by default.
- GET /todos: Get all tasks
- GET /todos/:id: Get all tasks
- POST /todos: Create a new task
- PUT /todos/:id: Update a task
- DELETE /api/todos/:id: Delete a task