Welcome to the Todos App! This project is a task management application built with React and Context API, showcasing efficient state management and a clean, responsive user interface.
Check out the live version here: Todos App Live.
- 📋 Task Management: Add, edit, and delete tasks with ease.
- 📦 Context API: Centralized state management for seamless component communication.
- 🌐 Responsive Design: Adapts to all device sizes, ensuring a smooth user experience.
- 💾 Persistent State: Retains your tasks even after refreshing the page.
Follow these steps to set up the project locally.
- Node.js (version 14 or higher)
- npm (Node package manager)
-
Clone the Repository:
git clone https://github.com/your-username/todos-app.git cd todos-app -
Install Dependencies:
npm install
-
Start the Development Server:
npm start
The app will be accessible at
http://localhost:3000.
To create a production build:
npm run buildThis command generates a build folder with optimized files ready for deployment.
- Log in to Netlify: Netlify.
- Create a New Site and link it to your GitHub repository.
- Set Build Command: Use
npm run build. - Publish Directory: Set it to
build. - Deploy: Follow the prompts to deploy your site.
For more detailed instructions, refer to the Netlify documentation.
src/: Contains all the source code.components/: React components for different parts of the UI.contexts/: Contexts for state management using Context API.assets/: Static assets like images and CSS.App.jsx: Main application component.index.js: Entry point of the application.
public/: Public files and assets accessible from the root.