Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/basedhound/todo-list_react
Basic to-do list built from scratch with React, using local storage to persist data. This project highlights key React concepts and offers a practical introduction to React development.
https://github.com/basedhound/todo-list_react
localstorage react react18 todo todolist vite
Last synced: 4 days ago
JSON representation
Basic to-do list built from scratch with React, using local storage to persist data. This project highlights key React concepts and offers a practical introduction to React development.
- Host: GitHub
- URL: https://github.com/basedhound/todo-list_react
- Owner: basedhound
- Created: 2023-10-04T09:20:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-06T10:16:36.000Z (5 months ago)
- Last Synced: 2024-11-09T03:24:37.644Z (about 2 months ago)
- Topics: localstorage, react, react18, todo, todolist, vite
- Language: JavaScript
- Homepage: https://todolist-react-fv.netlify.app
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##
📋 Table of Contents- ✨ [Introduction](#introduction)
- ⚙️ [Tech Stack](#tech-stack)
- đź“ť [Features](#features)
- 🚀 [Quick Start](#quick-start)**[EN]** A simple to-do list built from scratch using React, incorporating local storage to persist data. This project breaks down key React concepts and practices, offering a hands-on approach to understanding the fundamentals of React development.
**[FR]** Une simple liste de tâches construite de zéro avec React, utilisant le local storage pour conserver les données. Ce projet décompose les concepts clés de React et les pratiques importantes, offrant une approche pratique pour comprendre les fondamentaux du développement React.
- [**React**](https://react.dev/reference/react) is a popular JavaScript library for building user interfaces, particularly single-page applications where data changes over time. React's component-based architecture allows developers to create reusable UI components, making development more efficient and the codebase easier to maintain.
- [**Vite**](https://vitejs.dev/guide/) is a modern front-end build tool that offers a fast and efficient development environment. It leverages ES modules for quick build times and features hot module replacement (HMR) for instant updates, making it ideal for frameworks like React, Vue, and Svelte. Vite's minimal configuration helps streamline development workflows.
- [**Local Storage**](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) is a web storage feature that allows web applications to store data persistently in the user's browser. It provides a simple key-value store with a straightforward API, enabling developers to save data across browser sessions without expiration. Local Storage is ideal for storing user preferences, session data, and other non-sensitive information. Its synchronous API makes it easy to use, though it is limited to storing string data only and has a size limit of around 5MB per domain.
Follow these steps to set up the project locally on your machine.
**Prerequisites**Make sure you have the following installed on your machine:
- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org/en)
- [npm](https://www.npmjs.com/) (Node Package Manager)
**Cloning the Repository**```bash
git clone {git remote URL}
```
**Installation**Let's install the project dependencies, from your terminal, run:
```bash
npm install
# or
yarn install
```
**Running the Project**Installation will take a minute or two, but once that's done, you should be able to run the following command:
```bash
npm run dev
# or
yarn dev
```Open [`http://localhost:5173`](http://localhost:5173) in your browser to view the project.