This is a simple Todo application built with React for the frontend and Node.js with Express for the backend. It allows users to create, edit, and delete todo items. User authentication is implemented using session storage.
- User authentication: Users can log in with their username and password.
- CRUD operations: Users can create, read, update, and delete todo items.
- Real-time updates: Todo items are updated in real-time without needing to refresh the page.
- Clone the repository:
git clone https://github.com/your-username/react-todo.git
- Navigate to the project directory:
cd react-todo
- Install dependencies for the frontend:
cd client
npm install
- Install dependencies for the backend:
npm install
- Start the backend server:
npm run server
- Start the frontend development server:
cd client
npm run dev
markdown
- Open your web browser and navigate to
http://localhost:5173
to access the Todo application.
- Backend configuration: Modify the
.env
file in the backend directory to configure environment variables such as database connection settings and server port. - Frontend configuration: Modify the
.env
file in the frontend directory to configure frontend settings if necessary.
- Frontend: React, Axios, Tailwind CSS
- Backend: Node.js, Express, MongoDB
- Authentication: Session storage
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.