{"id":20527180,"url":"https://github.com/wmalarski/qwik-todo-mvc","last_synced_at":"2025-04-14T04:21:58.112Z","repository":{"id":124113921,"uuid":"597868725","full_name":"wmalarski/qwik-todo-mvc","owner":"wmalarski","description":"Qwik City TODO MVC - Example App","archived":false,"fork":false,"pushed_at":"2023-06-24T19:11:19.000Z","size":709,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T18:13:31.970Z","etag":null,"topics":["drizzle-orm","qwik","qwik-city","todomvc","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wmalarski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-05T21:35:26.000Z","updated_at":"2024-04-26T01:44:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"2329bfe7-86dc-4014-b491-27df7b5806f7","html_url":"https://github.com/wmalarski/qwik-todo-mvc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmalarski%2Fqwik-todo-mvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmalarski%2Fqwik-todo-mvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmalarski%2Fqwik-todo-mvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmalarski%2Fqwik-todo-mvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmalarski","download_url":"https://codeload.github.com/wmalarski/qwik-todo-mvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819669,"owners_count":21166520,"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":["drizzle-orm","qwik","qwik-city","todomvc","typescript","vite"],"created_at":"2024-11-15T23:17:42.775Z","updated_at":"2025-04-14T04:21:58.095Z","avatar_url":"https://github.com/wmalarski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qwik City - TODO MVC ⚡️\n\n![image info](./docs/preview.png)\n\n## TODO List\n\n- [x] Simple email+password authorization\n- [x] Cookie session management\n- [x] DrizzleORM+Postgresql integration\n- [x] Using `loader$` and `action$`(with `zod$` validation)\n- [x] Filtering todo list\n- [x] Listing and updating todos\n- [x] Optimistic updates\n- [x] Check no JS\n- [ ] Docker Deployment\n- [ ] Optimistic counter updates (waiting for fix to `onSubmit$`)\n- [ ] No JS - clear all completed fix\n\n## How to run?\n\n1. `pnpm i`\n2. create `.env` file based on `.env.example`\n3. `pnpm db:push`\n4. `pnpm dev`\n\n## Project Structure\n\nThis project is using Qwik with [QwikCity](https://qwik.builder.io/qwikcity/overview/). QwikCity is just a extra set of tools on top of Qwik to make it easier to build a full site, including directory-based routing, layouts, and more.\n\nInside your project, you'll see the following directory structure:\n\n```\n├── public/\n│   └── ...\n└── src/\n    ├── components/\n    │   └── ...\n    └── routes/\n        └── ...\n```\n\n- `src/routes`: Provides the directory based routing, which can include a hierarchy of `layout.tsx` layout files, and an `index.tsx` file as the page. Additionally, `index.ts` files are endpoints. Please see the [routing docs](https://qwik.builder.io/qwikcity/routing/overview/) for more info.\n\n- `src/components`: Recommended directory for components.\n\n- `public`: Any static assets, like images, can be placed in the public directory. Please see the [Vite public directory](https://vitejs.dev/guide/assets.html#the-public-directory) for more info.\n\n## Add Integrations and deployment\n\nUse the `pnpm qwik add` command to add additional integrations. Some examples of integrations include: Cloudflare, Netlify or Express server, and the [Static Site Generator (SSG)](https://qwik.builder.io/qwikcity/static-site-generation/static-site-config/).\n\n```shell\npnpm qwik add # or `yarn qwik add`\n```\n\n## Development\n\nDevelopment mode uses [Vite's development server](https://vitejs.dev/). During development, the `dev` command will server-side render (SSR) the output.\n\n```shell\nnpm start # or `yarn start`\n```\n\n\u003e Note: during dev mode, Vite may request a significant number of `.js` files. This does not represent a Qwik production build.\n\n## Preview\n\nThe preview command will create a production build of the client modules, a production build of `src/entry.preview.tsx`, and run a local server. The preview server is only for convenience to locally preview a production build, and it should not be used as a production server.\n\n```shell\npnpm preview # or `yarn preview`\n```\n\n## Production\n\nThe production build will generate client and server modules by running both client and server build commands. Additionally, the build command will use Typescript to run a type check on the source code.\n\n```shell\npnpm build # or `yarn build`\n```\n\n## Express Server\n\nThis app has a minimal [Express server](https://expressjs.com/) implementation. After running a full build, you can preview the build using the command:\n\n```\npnpm serve\n```\n\nThen visit [http://localhost:8080/](http://localhost:8080/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmalarski%2Fqwik-todo-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmalarski%2Fqwik-todo-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmalarski%2Fqwik-todo-mvc/lists"}