https://github.com/gitkashish/svelte-todos
A minimalist Todo web-app. Store tasks on local storage.
https://github.com/gitkashish/svelte-todos
svelte webapp
Last synced: 6 months ago
JSON representation
A minimalist Todo web-app. Store tasks on local storage.
- Host: GitHub
- URL: https://github.com/gitkashish/svelte-todos
- Owner: gitKashish
- Created: 2024-09-15T16:47:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T04:24:57.000Z (over 1 year ago)
- Last Synced: 2025-01-22T09:29:24.706Z (over 1 year ago)
- Topics: svelte, webapp
- Language: Svelte
- Homepage: https://pluto-todo.netlify.app
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todos with Svelte 5
A minimalist web app to track you tasks with local storage ✨

## Features
1. **Create** Todo tasks.
2. **Edit** existing tasks.
3. **Mark** todo as "Done".
4. **Filter** todos ('All', 'Active', 'Done').
5. Persistent storage with `window.localStorage`.
## Cloning the project
To customize or work on this yourself, clone the repo. `Node.js` is a prerequisite (Node v20.16.0 used in development):
```bash
# create a new project in the current directory
git clone https://github.com/gitKashish/svelte-todos
# follow up steps to install dependencies
cd svelte-todos
npm install
```
## Developing
Once you've cloned the repo and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
# or start the server and expose the app to the devices on the network
npm run dev -- --host
```
## Building
To create a production version of the app:
```bash
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.