A simple Todo list application built with React on the frontend and Node.js with Express on the backend.
- View todo list: Display todo items retrieved from the backend.
- Add new todo: Input to add new todo items.
- Toggle status: Mark items as completed or uncompleted by using toggling switch.
- Edit Todo: Update the title of existing todo items.
- Delete Todo: Remove todo items from the list.
- Frontend: React, Material-UI
- Backend: Node.js, Express
- Database: In-memory
- State Management: React Context API
frontend/: Contains the React application.backend/: Contains the Node.js and Express server.
git clone https://github.com/jpmaHub/todo-app.git
cd todo-appFollow these steps to set up the project on your local machine:
Navigate to the backend directory:
cd backendnpm installStart the server in development mode:
npm run start-serverThe API will be available at localhost
Run the test suite with:
npm testNavigate to the frontend directory:
cd frontendnpm installEnsure the backend server is running
npm run devOpen the local development server at dev-server
Run the test suite with:
npm test