Skip to content

mpolleschi/REACT-HOOKS-MODEL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Todo App

This is a simple Todo application built with React using hooks. The app allows users to manage their tasks by adding, viewing, and removing todos.

Project Structure

REACT-HOOKS-MODEL
├── src
│   ├── components
│   │   ├── TodoList.jsx      # Component to display the list of todos
│   │   ├── TodoItem.jsx      # Component for a single todo item
│   │   └── AddTodo.jsx       # Component to add a new todo
│   ├── hooks
│   │   └── useTodos.js       # Custom hook to manage todos state
│   ├── App.jsx               # Main application component
│   └── index.js              # Entry point of the application
├── package.json               # NPM configuration file
├── README.md                  # Documentation for the project
└── .gitignore                 # Files and folders to be ignored by Git

Features

  • Add new todos
  • View the list of todos
  • Remove todos from the list

Installation

  1. Clone the repository:
    git clone <repository-url>
    
  2. Navigate to the project directory:
    cd REACT-HOOKS-MODEL
    
  3. Install the dependencies:
    npm install
    

Usage

To start the application, run:

npm start

This will launch the app in your default web browser.

================= mia alternativa: npm run start

Contributing

Feel free to submit issues or pull requests for any improvements or bug fixes.

License

This project is open-source and available under the MIT License.

About

TEMPLATE REACT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors