Skip to content

AkhileshBhasale/TodoApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Demo

Features

  • Add, update, and delete tasks
  • Mark tasks as completed
  • Responsive design
  • RESTful API for managing tasks

Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/AkhileshBhasale/TodoApp
    cd TodoApp
  2. Install frontend dependencies

    npm install
  3. Install backend dependencies

    cd ../server
    npm install

Running the Application

  1. Start the backend server

    cd server
    node todoServer.js

    The server will run on http://localhost:3000.

  2. Start the frontend

    cd ..
    npm run dev

    The frontend will run on http://localhost:5173/ by default.

API Endpoints

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published