{"id":17835085,"url":"https://github.com/namesmt/starter-fullstack","last_synced_at":"2025-03-19T15:30:18.221Z","repository":{"id":230860635,"uuid":"780300555","full_name":"NamesMT/starter-fullstack","owner":"NamesMT","description":"🔥Hono RPC, Nuxt, SST Ion, Kinde Auth, Tanstack Query, Shadcn, Primevue, UnoCSS","archived":false,"fork":false,"pushed_at":"2024-10-29T08:04:14.000Z","size":1569,"stargazers_count":28,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T09:22:16.630Z","etag":null,"topics":["boilerplate","fullstack","hono","kinde","nuxt","primevue","rpc","shadcn","sst","starter","tanstack","tanstack-query","unocss","vue"],"latest_commit_sha":null,"homepage":"https://starter-fullstack.is-the.top","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/NamesMT.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":"2024-04-01T07:10:02.000Z","updated_at":"2024-10-22T16:02:11.000Z","dependencies_parsed_at":"2024-11-05T10:34:43.155Z","dependency_job_id":null,"html_url":"https://github.com/NamesMT/starter-fullstack","commit_stats":null,"previous_names":["namesmt/starter-fullstack"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamesMT%2Fstarter-fullstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamesMT%2Fstarter-fullstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamesMT%2Fstarter-fullstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NamesMT%2Fstarter-fullstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NamesMT","download_url":"https://codeload.github.com/NamesMT/starter-fullstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244453654,"owners_count":20455253,"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":["boilerplate","fullstack","hono","kinde","nuxt","primevue","rpc","shadcn","sst","starter","tanstack","tanstack-query","unocss","vue"],"created_at":"2024-10-27T20:16:48.740Z","updated_at":"2025-03-19T15:30:18.216Z","avatar_url":"https://github.com/NamesMT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starter-fullstack\n\nThis is a starter template to kick-start your `Nuxt` full-stack project\n\nNote: the app comes with a `localcert` SSL at `packages/common/dev` for local development, generated with [mkcert](https://github.com/FiloSottile/mkcert), you can install mkcert and generate your own certificate and replace it or install the `localcert.crt` to your trusted CA to remove the untrusted SSL warning \n\n## What's inside?\n\n⏩ This template is powered by [Turborepo](https://turbo.build/repo).\n\n😊 Out-of-the-box, this repo is configured for an SSG `frontend` Nuxt app, and a `backend` Hono app that will be the main API, to optimize on cost and simplicity.\n- The starter kit is still configured for 100% SSR support,  \n  Simply change the `apps/frontend`'s build script to `nuxt build` to enable SSR building\n\n🌩️ [SST Ion](https://ion.sst.dev/), an Infrastructure-as-Code solution, with powerful [Live](https://ion.sst.dev/docs/live/) development.  \n- SST is 100% opt-in, by using `sst` CLI commands yourself, like `sst dev`,  \n  simply remove `sst` dependency and `sst.config.ts` if you want to use another solution.\n- *currently only `backend` app is configured, which will deploy a Lambda with Function URL enabled*\n\n🔐 Comes with starter-kit for [**Kinde**](https://kinde.com/) [typescript-sdk](https://github.com/kinde-oss/kinde-typescript-sdk), see: `/apps/backend/api/auth`\n- *Add your env variables, activate the auth routes, profit$*\n- Please note that by default `backend` comes with a cookies-based session manager, which have great DX, security and does not require an external database (which also means great performance), but as the `backend` is decoupled with the Nuxt's SSR server, it will not work well with SSR (the session/auth state is not shared).  \nSo if you use SSR, you could use the official [Nuxt Kinde](https://nuxt.com/modules/kinde) module or implement your own way to manage the session at `apps/backend/src/middlewares/session.ts`.\n  - If you have a good session manager implementation, a PR is greatly appreciated!\n\n### Apps and Packages\n(Click the hyperlink of each app to see its README detail)\n\n- [`frontend`](./apps/frontend/README.md): a [Nuxt](https://nuxt.com/) app, compatible with v4 structure.\n  - By default, the frontend `/api/*` routes is proxied to the `backendUrl`.\n  - The `rpcApi` plugin will call the `/api/*` proxy if they're on the same domain but different ports (e.g: 127.0.0.1)\n    - \u003e this mimics a production environment where the static frontend and the backend lives on the same domain at /api, which is the most efficient configuration for Cloudfront + Lambda Function Url\n    - If the `frontend` and `backend` are on different domains then the backend will be called directly without proxy.\n    - This could be configured in frontend's [`app.config.ts`](./apps/frontend/app/app.config.ts)\n- [`backend`](./apps/backend/README.md): a [Hono🔥](https://hono.dev/) app.\n- [`@local/locales`](./packages/locales/README.md): a shared locales/i18n library powered by [unplugin-sheet-i18n](https://github.com/NamesMT/unplugin-sheet-i18n).\n- `@local/common`: a shared library that can contain constants, functions, types.\n- `@local/common-vue`: a shared library that can contain components, constants, functions, types for vue-based apps.\n- `tsconfig`: `tsconfig.json`s used throughout the monorepo.\n\nEach package/app is 100% [TypeScript](https://www.typescriptlang.org/).\n\n### Utilities\n\nThis Turborepo has some additional tools already setup for you:\n- [TypeScript](https://www.typescriptlang.org/) for static type checking\n- [ESLint](https://eslint.org/) for code linting\n\n### Build\n\nTo build all apps and packages, run the following command:  \n`pnpm run build`\n\n### Develop\n\nTo develop all apps and packages, run the following command:  \n`pnpm run dev`\n\nIt is recommended to do your local .env setup to `.env.local` of each app and use `git update-index --skip-worktree` to ignore the changes from being committed to the repo.\n\n### Notes\n#### `import` ordering:\nImports should not be separated by empty lines, and should be sorted automatically by eslint.\n\n### Remote Caching\n\nTurborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.\n\nBy default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:\n\n```\nnpx turbo login\n```\n\nThis will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).\n\nNext, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:\n\n```\nnpx turbo link\n```\n\n## Useful Links\n\nLearn more about the power of Turborepo:\n\n- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)\n- [Caching](https://turbo.build/repo/docs/core-concepts/caching)\n- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)\n- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)\n- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)\n- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamesmt%2Fstarter-fullstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamesmt%2Fstarter-fullstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamesmt%2Fstarter-fullstack/lists"}