A modern, lightweight Todo List web application built using Svelte 5, TypeScript, and Vite.
The app focuses on clean UI, reactive state management, and a modular component-based architecture.
src/
āāā app.css # Global styles
āāā App.svelte # Root component
āāā main.ts # App entry point
āāā vite-env.d.ts # Vite type declarations
āāā lib/
ā āāā AddTodo.svelte # Component for adding new tasks
ā āāā Header.svelte # Application header
ā āāā TodoItem.svelte # Single todo item
ā āāā TodoList.svelte # List of todos
āāā store/
āāā todos.ts # Svelte store for todo state
The application uses Svelte stores (writable) to manage the todo list globally.
This allows components to reactively update when the state changes without prop drilling.
npm install
npm run dev
App will be available at:
http://localhost:5173
npm run check
Runs svelte-check and TypeScript validation.
This project was created as a learning and portfolio project, demonstrating:
This is an open-source project. Feel free to use and modify it as needed!