{"id":29220017,"url":"https://github.com/nicolassutter/trusp-todo","last_synced_at":"2025-07-03T02:08:05.801Z","repository":{"id":276993251,"uuid":"930979059","full_name":"nicolassutter/trusp-todo","owner":"nicolassutter","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T13:47:31.000Z","size":460,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T03:54:00.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://trusp-todo.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicolassutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-11T14:26:32.000Z","updated_at":"2025-02-12T13:47:35.000Z","dependencies_parsed_at":"2025-02-11T15:42:40.755Z","dependency_job_id":null,"html_url":"https://github.com/nicolassutter/trusp-todo","commit_stats":null,"previous_names":["nicolassutter/trusp-todo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicolassutter/trusp-todo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolassutter%2Ftrusp-todo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolassutter%2Ftrusp-todo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolassutter%2Ftrusp-todo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolassutter%2Ftrusp-todo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolassutter","download_url":"https://codeload.github.com/nicolassutter/trusp-todo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolassutter%2Ftrusp-todo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245310,"owners_count":23436515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-03T02:08:05.109Z","updated_at":"2025-07-03T02:08:05.776Z","avatar_url":"https://github.com/nicolassutter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A todolist to manage... todos\n\n## Features\n\n- User account (registration disabled) with a demo acount open to the public (credentials displayed on the login page)\n- Basic CRUD operations on todos\n- Installable as a PWA\n\nI went with Vite and @tanstack/react-router instead of Next because I feel like Next was definitely overkill for a simple todolist app. I prefer using Vitest for testing so Vite made a lot of sense.\n\nI used shadcn/ui for the components because I wanted to focus on fonctionality and not design.\n\nI used Zod for validation because the random users api is not type safe.\n\nI went with server-side storage, well a SQLite database to be precise because it made sense if I wanted to implement auth. I chose Pocketbase because it is a single binary that is very cost effective. Another choice would have been to use serverless/edge (like Vercel) with a serverless database (Vercel postgres or Turso), but that seemed like overkill as well. Finally, I like \"owning\" my auth (and I like open source as well) so that I have control over it, so solutions like Clerk or Auth0 were a no go.\n\n## Stack\n\n### Frontend\n\n- React with the React compiler (because it's basically free performance)\n- @tanstack/react-query and @tanstack/react-router\n- TypeScript\n- Tailwind CSS\n- Vite \u0026 Vitest for testing [tests located here](./packages/app/tests/app.test.tsx)\n- Zod\n- shadcn/ui for the amazing components\n- Vite PWA\n\n### Backend\n\n- Pocketbase for auth\n\n### Hosting\n\n- The demo auth server is hosted on my home server but it can run wherever with Docker. The frontend is hosted on Vercel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolassutter%2Ftrusp-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolassutter%2Ftrusp-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolassutter%2Ftrusp-todo/lists"}