This file is located in src/app_settings.ts

Properties

General app settings

APP_NAME
string
required

The name of your app

Example: shipit

APP_DESCRIPTION
string
required

The description of your app

Example: my awesome app

APP_DOMAIN
string
required

The domain of your app

default: process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : 'https://yourprodurl';

APP_LANG
string
required

The language of your app, used for the HTML lang attribute

Example: en

Routes settings

APP_ROUTES
Route[]
required

An array containing all the routes of your app and the visibility of each one. Used in the header,footer and to generate the sitemap.

USER_ROUTES
Route[]
required

An array containing all the routes that will show on the user dropdown menu.

Auth settings

AFTER_SIGNIN_REDIRECT_URL
string
required

Where to redirect the user after signing in

Default: /profile

NON_AUTHENTICATED_REDIRECT_URL
string
required

Where to redirect the user if they try to access a route that requires authentication without being authenticated

Default: /signin

NON_SUSCRIBED_REDIRECT_URL
string
required

Where to redirect the user if they try to access a route that requires a subscription without being subscribed

Default: /pricing

SEO settings

SEO_TITLE
string
required

The title that will be used for meta tags

Example: My awesome app

SEO_DESCRIPTION
string
required

The description that will be used for meta tags

Example: My awesome app description

SEO_IMAGE
string | null
required

The image that will be used for meta tag. keep this null if you prefer to use the dynamic og:image generated by the app in /api/og/route.tsx

Example: https://myawesomeapp.com/image.jpg Default: null

Blog settings

BLOG_ENABLED
boolean
required

If false, the blog won’t be accessible by users

Default: true

BLOG_POST_PATH
string
required

The default storage path for blog posts

Default: src/blog_content/posts

BLOG_TITLE
string
required

The title of the blog

Example: My blog

BLOG_DESCRIPTION
string
required

The description of the blog

Example: My blog description

Store settings

If you never used Stripe, you will find useful the Payments Guide

AFTER_PURCHASE_REDIRECT_URL
string
required

The URL to redirect the user to after they suscribe to a plan

Default: /dashboard

AFTER_SUBSCRIPTION_REDIRECT_URL
string
required

The URL to redirect purchase a product that is one-time paid, not a subscription

Default: /