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:
app – Routes and data fetching
content – MDX files for blog posts
locales – Translation files
modules marketing - All public facing features shared – Shared marketing code
saas - All SaaS features auth – Authentication pages
dashboard – Dashboard page
settings – Settings page
shared – Shared marketing code
shared - Globally shared code
ui – Basic ui components