next-forgenext-forge
Mask

Structure

The structure of next-forge

next-forge is a monorepo, which means it contains multiple packages in a single repository. This is a common pattern for modern web applications, as it allows you to share code between different parts of the application, and manage them all together.

The monorepo is managed by Turborepo, which is a tool for managing monorepos. It provides a simple way to manage multiple packages in a single repository, and is designed to work with modern web applications.

Applications

The monorepo contains the following apps:

AppDescriptionPort
apiContains serverless functions designed to run separately from the main app e.g. webhooks and cron jobs.3002
appThe main application, featuring a shadcn/ui template.3000
docsThe documentation, which contains the documentation for the app e.g. guides and tutorials.3004
emailThe email preview server from react.email.3003
studioPrisma Studio, which is a graphical editor for the database.3005
webThe website, featuring a twblocks template.3001
_docsThe documentation for this project. You can delete this.3006

Packages

It also contains the following packages:

PackageDescription
databaseThe database, which contains the database schema and migrations for the app.
design-systemThe design system, which contains shared components, utility files and styles.
email-templatesThe email templates, which contains the email templates for the app.
feature-flagsThe feature flags, which contains the feature flags for the app.
next-configThe Next.js configuration, which contains the shared Next.js configuration for the app.
typescript-configThe TypeScript configuration, which contains the shared TypeScript configuration for the app.

On this page