https://github.com/umarhasnain/rs-build-todo-app
https://github.com/umarhasnain/rs-build-todo-app
rsbuild rsbuild-module rsbuild-react-ui rsbuild-spa
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/umarhasnain/rs-build-todo-app
- Owner: umarhasnain
- Created: 2025-09-19T22:54:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-19T22:56:37.000Z (9 months ago)
- Last Synced: 2025-09-20T00:59:30.261Z (9 months ago)
- Topics: rsbuild, rsbuild-module, rsbuild-react-ui, rsbuild-spa
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## README — Quick steps to run
1. Create a new rsbuild React project (recommended):
```bash
# interactive starter that installs correct rsbuild packages
npm create rsbuild@latest my-todo
cd my-todo
```
2. Replace the generated `index.html` and `src` files with the files above (or copy the `src` contents into your project).
3. Install deps (if not already):
```bash
npm install
```
4. Start dev server:
```bash
npm run dev
# open http://localhost:5173 (or the port rsbuild shows)
```
5. Build for production:
```bash
npm run build
npm run preview
```
---
### Notes & ideas for improvement
- Replace `localStorage` with a backend API to persist across devices.
- Add filtering (active/completed), bulk actions, or drag-and-drop reordering.
- Add unit tests and E2E tests.
---
That's the complete small Todo app ready to run with rsbuild. Copy the files into your rsbuild project and `npm run dev` to try it.