My personal starter project for all my SaaS as I like the tech stack I use and I want to have a consistent way of starting new projects.
- Simplicity: Keep it simple, stupid.
- Consistency: Use the same tech stack for all projects.
- Quality: Write clean, maintainable code.
- Speed: Develop fast, deploy fast.
- Security: Keep it secure.
- Free at start: Use free services until you need to scale.
- Automate: Automate everything.
- Mutability: Be ready to change to other tech stack withouth having to redo it again.
- Clone the repository
git clone https://github.com/TheCukitoDev/starter.git
or if you use the GH CLI
gh repo clone TheCukitoDev/starter
- Install the dependencies
pnpm install
- Start the development server
pnpm run dev
- Open the browser and go to
http://localhost:3000
Open the .env file and change the values to your own. You can check the .env.example file for the default values.
-
Authentication: Authentication with 2FA, magic links, SSO, username and password, acount linking, user impersonation, etc.
-
Authorization: RBAC, permissions, etc.
-
Billing: Subscription, invoices, etc.
-
Settings: User settings, account settings, etc.
-
Notifications: Email, SMS, push notifications, etc.
-
Integrations: Google APIs, Stripe, etc.
-
Monitoring: Logs, metrics, etc.
-
Testing: Unit tests, integration tests, end-to-end tests, etc.
-
Deployment: Serverless, Docker, etc.
-
CI/CD: GitHub Actions, etc.
-
Documentation: API documentation, user documentation, etc.
-
SEO: Sitemap, robots.txt, etc.
-
Analytics: PostHog, etc.
-
Maintainability: Code quality, code reviews, etc.
-
Security: OWASP, CORS, etc.
-
Performance: Lighthouse, etc.
-
Best technologies on their fields
- React: A JavaScript library for building user interfaces.
- Next.js: The React framework for production.
- Tailwind CSS: A utility-first CSS framework for rapidly building custom designs.
- SWR: React Hooks library for data fetching.
- Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.
- Cosmos DB: A fully managed NoSQL database for modern app development.
- Lambda functions
- T3 Env: A simple and secure way to manage your environment variables.
- Cloudflare Pages: The best platform for deploying your frontend withouth bandwith limits.
- Crowdin for translations.
- next-intl for internationalization.
- GitHub for version control.
- GitHub Actions for CI/CD.
- Sentry for error tracking.
- Codecov for code coverage.
- Dependabot for dependency updates.
- PostHog: Open-source product analytics.
- Better Stack for monitoring and status page.
- Checkly for API monitoring.
- SST for serverless.
- Stripe for payments.
- PostHog for analytics.
- Storybook for component documentation.
- React Hook Form for forms.
- Zod for validation.
- GitBook for documentation.
- Vitest for unit tests.
- Playwright for end-to-end tests.
- Chromatic for visual regression tests.
pnpm run dev
For production, you need to build the project first.
pnpm run build
Then you can start the server.
pnpm start
or deploy it to the cloud.
pnpm run deploy
Check the roadmap on the project's GH Repo here
Follow the CONTRIBUTING file. Please read the CODE_OF_CONDUCT file.
- TheCukitoDev for the idea and the project.
You can open an issue or contact me at [email protected].
If you want to contact me about a business proposal, you can contact me at [email protected]
Please open a discussion or contact me at [email protected].
Check the license file here.