Apps
The apps 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.
The monorepo contains the following apps:
App | Description | Port | Recommended URL |
---|---|---|---|
api | Contains serverless functions designed to run separately from the main app e.g. webhooks and cron jobs. | 3002 | api.acme.com |
app | The main application, featuring a shadcn/ui template. | 3000 | app.acme.com |
docs | The documentation, which contains the documentation for the app e.g. guides and tutorials. | 3004 | docs.acme.com |
email | The email preview server from react.email. | 3003 | |
studio | Prisma Studio, which is a graphical editor for the database. | 3005 | |
web | The website, featuring a twblocks template. | 3001 | acme.com |
While you can choose to run these apps on the subdomain of your choice, the recommended subdomains are listed above. Remember to add them to your environment variables under NEXT_PUBLIC_APP_URL
, NEXT_PUBLIC_WEB_URL
, and NEXT_PUBLIC_DOCS_URL
.