Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
/ old-starter Public archive

My starter for all my projects with all my recommendations and tech stack. Open Source and free to use

License

Notifications You must be signed in to change notification settings

TheCukitoDev/old-starter

Cukito starter

Description

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.

Principles

  • 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.

Getting started

Prerequisites

  • Node.js (v20 or higher) for running JavaScript
  • pnpm, our recommended package manager

Installation

  1. Clone the repository
git clone https://github.com/TheCukitoDev/starter.git

or if you use the GH CLI

gh repo clone TheCukitoDev/starter
  1. Install the dependencies
pnpm install
  1. Start the development server
pnpm run dev
  1. Open the browser and go to http://localhost:3000

Configuration

Open the .env file and change the values to your own. You can check the .env.example file for the default values.

Features

  • 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

Tech stack

Frontend

  • 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.

Backend

  • 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.

DevOps

Monitoring

Security

IaaS

  • SST for serverless.

Payments

Analytics

Componetization

Components

Forms

Validation

  • Zod for validation.

Documentation

Testing

Usage

Development

pnpm run dev

Production

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

Roadmap

Check the roadmap on the project's GH Repo here

Contributing

Follow the CONTRIBUTING file. Please read the CODE_OF_CONDUCT file.

Acknowledgements

  • TheCukitoDev for the idea and the project.

References

Contact

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]

Feedback

Please open a discussion or contact me at [email protected].

License

Check the license file here.

About

My starter for all my projects with all my recommendations and tech stack. Open Source and free to use

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published