Skip to content

juanda404/TODOMACHINE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 TODO App

A modern task management application built with React, allowing you to create, complete, and delete tasks intuitively.

TODO APP screenshot

🚀 Features

  • ✅ Create new tasks
  • ✅ Mark tasks as completed
  • ✅ Delete tasks
  • ✅ Real-time task search
  • ✅ Data persistence with LocalStorage
  • ✅ Responsive design
  • ✅ Loading animations (skeleton loading)
  • ✅ State management (loading, error, empty)

🛠️ Technologies

  • React - JavaScript library for building user interfaces
  • Context API - Global state management
  • Custom Hooks - Reusable logic (useLocalStorage)
  • CSS3 - Styling and animations
  • LocalStorage - Data persistence

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

The app will open at http://localhost:3000

📁 Project Structure

src/ ├── App/ │ ├── App.js │ ├── AppUI.js │ └── AppUI.css ├── TodoContext/ │ ├── index.js │ └── useLocalStorage.js ├── TodoCounter/ │ ├── index.js │ └── TodoCounter.css ├── TodoSearch/ │ ├── index.js │ └── TodoSearch.css ├── TodoList/ │ ├── index.js │ └── TodoList.css ├── TodoItem/ │ ├── index.js │ └── TodoItem.css ├── TodoForm/ │ ├── index.js │ └── TodoForm.css ├── Modal/ │ ├── index.js │ └── Modal.css ├── CreateTodoButton/ │ ├── index.js │ └── CreateTodoButton.css ├── Footer/ │ ├── index.js │ └── Footer.css └── index.js

🎯 Usage

  1. Add a task: Click the + button and type your task
  2. Complete a task: Click the ✓ circle on the left
  3. Delete a task: Click the X on the right
  4. Search tasks: Use the search bar to filter tasks

🎨 Technical Features

Context API

The project uses React Context for global state management:

  • Task state
  • Loading state
  • Error state
  • Search and filtering.

Custom Hook

useLocalStorage - Custom hook to sync state with LocalStorage:

const { item, saveItem, loading, error } = useLocalStorage("TODOS_V1", []);

Portals

React Portals are used to render the modal outside the main DOM tree.

📱 Responsive Design

The application is fully optimized for:

  • 📱 Mobile (320px+)
  • 📱 Tablets (768px+)
  • 💻 Desktop (1024px+)

🔮 Future Improvements

  • Task categories
  • Due dates
  • Priorities (high, medium, low)
  • Dark mode
  • Export/Import tasks
  • Backend with REST API
  • User authentication

🤝 Contributing

Contributions are welcome! Please:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add: new feature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 Author

Juan David Santamaría

🙏 Acknowledgments


⭐ If you liked this project, give it a star on GitHub!

About

herramienta utilizada para crear un TODO con React.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •