supastarter uses a monorepo structure, which allows you to easily extend your project (for example with a mobile app) and share code and configs between applications.
By default the monorepo contains the following apps and packages:
apps – Main application (includes marketing pages and SaaS) packages auth – Authentication setup
api – API server (including all features logic)
database – Database setup
mail – Mail templates and provider
storage – Storage providers and upload logic
util – Shared utilities and helpers
tooling – Configuration for the monorepo tailwind – Tailwind config
typescript – TypeScript config
The main application is located in the apps/web
folder. It contains the following folders:
src routes – Routes and data fetching
lib modules marketing - All public facing features shared – Shared marketing code
saas - All SaaS features auth – Authentication pages
dashboard – Dashboard page
shared – Shared marketing code
shared - Globally shared code
content – MDX files for blog posts