A modern and simple TODO LIST application built with React, Vite, and Express. This application allows users to manage their tasks efficiently, with features such as task creation, deletion, and due date tracking.
- Add tasks with a title and a due date.
- Automatically assigns "Unnamed Task" for tasks without a title.
- Clean and modern user interface.
- Backend powered by Node.js and Express for task storage.
- Built with React for fast and dynamic user experience.
- Powered by Vite for optimized performance during development and production.
Follow these steps to set up and run the project locally:
Ensure you have the following installed:
Run the following command to clone the repository:
git clone https://github.com/hidiegorguez/TodolistUse the following command to move into the project folder:
cd TodolistThe frontend files are in the root directory. Install the required dependencies by running:
npm installLaunch the frontend locally by running:
npm run devThen open your browser and visit:
http://localhost:5173
To generate an optimized build for deployment, use:
npm run buildPreview the production build locally using:
npm run previewGo to the backend folder:
cd backendRun the following command to install dependencies for the backend:
npm installLaunch the backend server by running:
npm startThe backend server will run on:
http://localhost:5001
Todolist/
├── backend/ # Backend server (Node.js + Express)
│ ├── server.js # Backend server file
│ ├── package.json # Backend dependencies
│ └── ...
├── src/ # Frontend source code (React + Vite)
├── public/ # Public files for the frontend
├── package.json # Frontend dependencies
└── README.md # Documentation
-
Port Conflicts:
- If you see an error like
EADDRINUSE, it means the port is already in use. - Change the port number in
server.js(e.g.,const port = 3000;) and restart the server.
- If you see an error like
-
Server Not Running:
- Ensure the backend server is running before accessing the frontend.
This project is licensed under the MIT License.
