{"id":13761779,"url":"https://github.com/gmpetrov/ultimate-saas-ts","last_synced_at":"2025-05-16T10:06:27.570Z","repository":{"id":37761524,"uuid":"407542582","full_name":"gmpetrov/ultimate-saas-ts","owner":"gmpetrov","description":"Template to quickstart a SAAS business","archived":false,"fork":false,"pushed_at":"2022-11-21T17:24:20.000Z","size":479,"stargazers_count":1279,"open_issues_count":4,"forks_count":127,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-05-16T10:06:21.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"utlimate-saas-js.vercel.app","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/gmpetrov.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}},"created_at":"2021-09-17T13:03:02.000Z","updated_at":"2025-04-23T13:33:42.000Z","dependencies_parsed_at":"2022-08-11T19:50:10.534Z","dependency_job_id":null,"html_url":"https://github.com/gmpetrov/ultimate-saas-ts","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/gmpetrov%2Fultimate-saas-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmpetrov%2Fultimate-saas-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmpetrov%2Fultimate-saas-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmpetrov%2Fultimate-saas-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmpetrov","download_url":"https://codeload.github.com/gmpetrov/ultimate-saas-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509475,"owners_count":22082891,"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":"2024-08-03T14:00:28.210Z","updated_at":"2025-05-16T10:06:27.532Z","avatar_url":"https://github.com/gmpetrov.png","language":"TypeScript","funding_links":[],"categories":["Nextjs Templates","TypeScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# 🚀⚡️🧑‍💻 *Ultimate SAAS template Typescript/Next.js/NextAuth.js/Prisma/Stripe/Tailwindcss/Postgresql* \n\n*My template to quickstart a SAAS project*\n\n\u003eStop losing time implementing authentication and payment over and over again.  \nFocus on what brings value to your customers\n\n## Demo\nhttps://utlimate-saas-js.vercel.app\n\n\n## Features\n- Authentication with NextAuth.js (Own Your Data ✅)\n  - Email with magic link\n  - Github \n  - Many other oauth providers available [check their docs](https://next-auth.js.org/configuration/providers/oauth-provider)\n- Payment with Stripe\n  - Stripe checkout\n  - Stripe billing portal\n  - Stripe webhooks (products / prices are synced)\n- Hosted on [vercel](https://vercel.com/) for free \n\n## Stripe\nCheck the stripe section of this [repo](https://github.com/vercel/nextjs-subscription-payments) as the steps are very similar\n\n## Postgresql\nA postgresql db is needed to deploy the app.  \nYou can have a very small instance for free on [heroku](https://www.heroku.com/pricing#data-services)  \n****\n\n## Made with\n- Typescript\n- Next.js\n- NextAuth.js\n- Prisma\n- Postgresql\n- Stripe\n- Tailwindcss\n## Develop\n\n```\n# create .env \ncp .env.example .env\n\n# install dependencies\nyarn\n\n# Launch pgsql and maildev\nyarn docker:start\n\n# migrate and seed the database\nyarn prisma:migrate:dev\n\nyarn prisma:seed\n\n# install stripe cli \nhttps://stripe.com/docs/webhooks/test\n\nstripe login\n\nstripe listen --forward-to http://localhost:3000/api/stripe/webhook\n\n# start server\nyarn dev\n\n```\n\n## Inspirations\n- https://github.com/vercel/nextjs-subscription-payments\n- https://github.com/hexrcs/prisma-next-auth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmpetrov%2Fultimate-saas-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmpetrov%2Fultimate-saas-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmpetrov%2Fultimate-saas-ts/lists"}