/
/
| title | Getting Started |
| description | Setup guide for the todo app |
| tags | guidesetupgetting-started |
Follow this guide to run the todo app locally.
You'll need:
crypto.randomUUID() which the app uses for generating todo IDs.
git clone https://github.com/your-username/gitian-demo.git
cd gitian-demo
npm install
npm with pnpm in all commands.
npm run dev
The app will be available at http://localhost:5173.
npm run build
npm run preview
dist/. You can deploy it to any static hosting provider.
To view this repo through Gitian:
See features for a full showcase of supported markdown features, or check architecture for the app's component structure.
npm install fails with permission errors, do not use sudo. Fix your npm permissions instead — see the npm docs.
| Problem | Solution |
|---|---|
| Port 5173 in use | Kill the other process or set --port 3000 |
| Blank page | Check browser console for errors |
| Todos not persisting | Ensure localStorage is not disabled |