{"id":16256064,"url":"https://github.com/atinux/nuxt-guestbook","last_synced_at":"2025-03-19T21:30:48.582Z","repository":{"id":206536353,"uuid":"716571304","full_name":"atinux/nuxt-guestbook","owner":"atinux","description":"A Nuxt application with SSR on the edge, authentication and a SQLite database.","archived":false,"fork":false,"pushed_at":"2024-09-18T17:11:48.000Z","size":576,"stargazers_count":35,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-17T15:12:41.117Z","etag":null,"topics":["cloudflare-d1","cloudflare-pages","fullstack","nuxt","nuxt-auth","nuxt-ui","nuxt-ui-pro","nuxthub"],"latest_commit_sha":null,"homepage":"https://guestbook.nuxt.dev","language":"Vue","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/atinux.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-11-09T12:19:30.000Z","updated_at":"2025-03-09T14:10:04.000Z","dependencies_parsed_at":"2024-01-04T21:28:06.064Z","dependency_job_id":"201471a7-6606-4d59-8752-0c1d19240564","html_url":"https://github.com/atinux/nuxt-guestbook","commit_stats":null,"previous_names":["atinux/nuxt-guestbook"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atinux%2Fnuxt-guestbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atinux%2Fnuxt-guestbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atinux%2Fnuxt-guestbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atinux%2Fnuxt-guestbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atinux","download_url":"https://codeload.github.com/atinux/nuxt-guestbook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244507854,"owners_count":20463689,"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":["cloudflare-d1","cloudflare-pages","fullstack","nuxt","nuxt-auth","nuxt-ui","nuxt-ui-pro","nuxthub"],"created_at":"2024-10-10T15:44:22.673Z","updated_at":"2025-03-19T21:30:47.940Z","avatar_url":"https://github.com/atinux.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# Nuxt Guestbook\n\n[![screenshot](./public/social-image.png)](https://nuxt-guestbook.pages.dev)\n\nA demonstration using [Nuxt](https://nuxt.com) with server-side rendering on the edge, authentication and database querying using SQLite (Cloudflare D1)in production.\n\nDemo: https://nuxt-guestbook.pages.dev\n\n## Features\n\n- [Server-Side Rendering on the Edge](https://nuxt.com/blog/nuxt-on-the-edge)\n- Authentication backed-in using [nuxt-auth-utils](https://github.com/Atinux/nuxt-auth-utils)\n- Leverage SQLite as database with migrations using [drizzle ORM](https://orm.drizzle.team/)\n- User interface made with [Nuxt UI](https://ui.nuxt.com) and [Nuxt UI Pro](https://ui.nuxt.com/pro)\n\n## Setup\n\nMake sure to install the dependencies using [pnpm](https://pnpm.io/):\n\n```bash\npnpm i\n```\n\nCreate a [GitHub Oauth Application](https://github.com/settings/applications/new) with:\n- Homepage url: `http://localhost:3000`\n- Callback url: `http://localhost:3000/auth/github`\n\nAdd the variables in the `.env` file:\n\n```bash\nNUXT_OAUTH_GITHUB_CLIENT_ID=\"my-github-oauth-app-id\"\nNUXT_OAUTH_GITHUB_CLIENT_SECRET=\"my-github-oauth-app-secret\"\n```\n\nTo create sealed sessions, you also need to add `NUXT_SESSION_SECRET` in the `.env` with at least 32 characters:\n\n```bash\nNUXT_SESSION_SECRET=your-super-long-secret-for-session-encryption\n```\n\n## Development\n\nStart the development server on http://localhost:3000\n\n```bash\nnpm run dev\n```\n\n### Build command\n\nSet the build command to:\n\n```bash\nnpm run build\n```\n\nAnd the output directory to `dist/`\n\n## Deploy on CloudFlare Pages\n\nDeploy the application on the Edge with [NuxtHub](https://hub.nuxt.com) on your Cloudflare account:\n\n```bash\nnpx nuxthub deploy\n```\n\nThen checkout your server logs, analaytics and more in the [NuxtHub Admin](https://admin.hub.nuxt.com).\n\nYou can also deploy using [Cloudflare Pages CI](https://hub.nuxt.com/docs/getting-started/deploy#cloudflare-pages-ci).\n\n### Environment variables\n\n```bash\nNUXT_OAUTH_GITHUB_CLIENT_ID=...\nNUXT_OAUTH_GITHUB_CLIENT_SECRET=...\nNUXT_SESSION_PASSWORD=...\nNUXT_UI_PRO_LICENSE=...\n```\n\n## License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatinux%2Fnuxt-guestbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatinux%2Fnuxt-guestbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatinux%2Fnuxt-guestbook/lists"}