{"id":21147428,"url":"https://github.com/ashsajal1/next-saas-template","last_synced_at":"2025-05-07T02:42:06.205Z","repository":{"id":245119028,"uuid":"817292581","full_name":"ashsajal1/next-saas-template","owner":"ashsajal1","description":"The Next SaaS Template is a comprehensive starter kit for building scalable SaaS applications with Next.js, featuring built-in authentication, database integration, responsive design, and developer tools like ESLint, Prettier, and TypeScript support.","archived":false,"fork":false,"pushed_at":"2025-04-18T13:20:17.000Z","size":859,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T00:56:14.685Z","etag":null,"topics":["drizzle-orm","javascirpt","next","nextjs","prisma","react","reactjs","saas","saas-template","template","typescript","webapp"],"latest_commit_sha":null,"homepage":"https://next-saas-template-nine.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/ashsajal1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-06-19T12:06:01.000Z","updated_at":"2025-04-18T13:20:20.000Z","dependencies_parsed_at":"2024-06-19T23:25:40.016Z","dependency_job_id":"01fc1d97-a602-41f2-9411-d2916c15ba37","html_url":"https://github.com/ashsajal1/next-saas-template","commit_stats":null,"previous_names":["ashsajal1/next-shadcn-prisma-tsx"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashsajal1%2Fnext-saas-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashsajal1%2Fnext-saas-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashsajal1%2Fnext-saas-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashsajal1%2Fnext-saas-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashsajal1","download_url":"https://codeload.github.com/ashsajal1/next-saas-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252802580,"owners_count":21806530,"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","javascirpt","next","nextjs","prisma","react","reactjs","saas","saas-template","template","typescript","webapp"],"created_at":"2024-11-20T09:02:08.710Z","updated_at":"2025-05-07T02:42:06.182Z","avatar_url":"https://github.com/ashsajal1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next SaaS Template\n\nThe **Next SaaS Template** is a comprehensive starter kit for building scalable SaaS applications with Next.js, featuring built-in authentication, database integration, responsive design, efficient state management, pre-configured API routes, and developer tools like ESLint, Prettier, and TypeScript support.\n\n## Features\n- **Next.js**: Framework for server-side rendering, static site generation, and seamless API routes.\n- **TypeScript**: For static typing and improved developer experience.\n- **Clerk Authentication**: Built-in user authentication with support for various providers.\n- **Database Integration**: Both Prisma and Drizzle are included. Choose one based on your preference and remove the other.\n- **Tailwind CSS**: Utility-first CSS framework for rapid UI development.\n- **Shadcn**: Component library for React.\n- **PWA Support**: Built-in Progressive Web App capabilities.\n\n## Getting Started\n\n### Installation\n\nClone the repository and install dependencies using your preferred package manager (npm, pnpm, or yarn):\n\n```bash\ngit clone https://github.com/ashsajal1/next-saas-template.git\ncd next-saas-template\nnpm install\n# or\npnpm install\n# or\nyarn install\n```\n\n### Configuration\n\n1. **Authentication**: Set up Clerk for user authentication.\n2. **Database**: Choose either Prisma or Drizzle for your database needs. You cannot use both simultaneously, so:\n   - If using Prisma: Remove Drizzle by deleting `db` directory and `drizzle.config.ts`. Also remove Drizzle dependencies from `package.json`.\n   - If using Drizzle: Remove Prisma by deleting `prisma` directory and `src/lib/prisma.ts`. Also remove Prisma dependencies from `package.json`.\n\nTo switch between Prisma and Drizzle:\n- For Prisma: Follow the setup instructions in the `prisma` folder.\n- For Drizzle: Follow the setup instructions in the `drizzle` folder.\n\n### PWA Assets Generation\n\nGenerate PWA assets using the following command:\n\n```bash\nnpm run generate-pwa-assets\n# or\npnpm run generate-pwa-assets\n# or\nyarn generate-pwa-assets\n```\n\nReplace `public/next.svg` with the path to your own logo if needed.\n\n### Adding Payment Method (Stripe)\n\nWe welcome contributions to add a payment method using Stripe. Please refer to the [Contributing](#contributing) section for more details.\n\n## Contributing\n\nWe welcome contributions to enhance the functionality of this template. Here’s how you can contribute:\n\n1. **Fork the repository**\n2. **Create a new branch** for your feature or bug fix:\n    ```bash\n    git checkout -b feature-name\n    ```\n3. **Commit your changes**:\n    ```bash\n    git commit -m 'Add some feature'\n    ```\n4. **Push to the branch**:\n    ```bash\n    git push origin feature-name\n    ```\n5. **Create a pull request** to the `main` branch.\n\n### Contribution Guidelines\n\n- **Feature Requests**: If you have a feature request, please open an issue to discuss it before starting work.\n- **Bug Reports**: Report bugs by opening an issue.\n- **Code Style**: Follow the existing code style and conventions.\n- **Testing**: Ensure your code is well-tested.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashsajal1%2Fnext-saas-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashsajal1%2Fnext-saas-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashsajal1%2Fnext-saas-template/lists"}