{"id":16957948,"url":"https://github.com/joshnuss/sveltekit-saas","last_synced_at":"2025-08-26T11:35:08.187Z","repository":{"id":66379956,"uuid":"593894545","full_name":"joshnuss/sveltekit-saas","owner":"joshnuss","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-26T06:36:39.000Z","size":59,"stargazers_count":61,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-04T07:22:43.425Z","etag":null,"topics":["authjs","saas","stripe","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/joshnuss.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":"2023-01-27T04:36:25.000Z","updated_at":"2024-11-13T00:25:51.000Z","dependencies_parsed_at":"2024-01-26T07:42:50.392Z","dependency_job_id":null,"html_url":"https://github.com/joshnuss/sveltekit-saas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshnuss/sveltekit-saas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fsveltekit-saas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fsveltekit-saas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fsveltekit-saas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fsveltekit-saas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshnuss","download_url":"https://codeload.github.com/joshnuss/sveltekit-saas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshnuss%2Fsveltekit-saas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272214471,"owners_count":24893217,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["authjs","saas","stripe","svelte","sveltekit"],"created_at":"2024-10-13T22:20:42.496Z","updated_at":"2025-08-26T11:35:08.149Z","avatar_url":"https://github.com/joshnuss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SvelteKit SaaS Demo\n\nCode examples from the video course [Build a SaaS with SvelteKit](https://joshuanussbaum.podia.com/build-a-saas-with-sveltekit)\n\n## Features\n\n- Authentication with Auth.js\n- Database with Prisma\n- Plans \u0026 pricing page\n- Payments with Stripe Checkout\n- Syncing subscription status via webhooks\n\n## Setup\n\nStart by copying the example `.env`:\n\n```sh\ncp .env.example .env\n```\n\nThen customize the `.env` file. You'll need to provide values for:\n\n- `DATABASE_URL`: The url of your database.\n- `AUTH_SECRET`: The secret Auth.js uses. Can be generated using `openssl rand -base64 32`\n- `GITHUB_ID`: The id of your GitHub OAuth client.\n- `GITHUB_SECRET`: The secret of your GitHub OAuth client.\n- `SECRET_STRIPE_KEY`: Your Stripe API secret key.\n- `STRIPE_WEBHOOK_SECRET`: Your Stripe secret for webhooks.\n\nInstall the dependencies:\n\n```sh\npnpm install\n```\n\nCreate the database:\n\n```sh\npnpm prisma db push\n```\n\n## Install the Stripe CLI\n\nTo tunnel Stripe webhooks in development mode, install Stripe's CLI.\n\nFollow instructions here:\n\nhttps://stripe.com/cli\n\n## Development mode\n\nFirst, run the dev server\n\n```sh\npnpm dev\n```\n\nThen, tell Stripe to tunnel webhooks to the local dev server:\n\n```sh\nstripe listen --forward-to localhost:5173/integrations/stripe\n```\n\n## Seed data\n\nYou can adjust the seed data in `prisma/seed.js` to use price ids from your Stripe account.\n\nTo load seed data, run:\n\n```sh\nprisma db seed\n```\n\n## Video course\n\nFor more info, here's the full video:\nhttps://joshuanussbaum.podia.com/build-a-saas-with-sveltekit\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fsveltekit-saas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshnuss%2Fsveltekit-saas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshnuss%2Fsveltekit-saas/lists"}