About Contentstack: Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.
About this project: This is a Next.js project bootstrapped with create-next-app
used to build modern web applications.
Refer .env.sample to set up your .env.local file in root directory
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/[locale]/page.tsx
. The page auto-updates as you edit the file.
Compass Starter Stack Content Repo
To import this content to your stack, perform the following steps:
-
Install the CLI by running the following command in your terminal:
npm i -g @contentstack/[email protected]
-
By default, CLI uses the North America region. To use the Europe region, run this command in your terminal:
csdx config:set:region EU
-
Next, log in to your Contentstack account via CLI:
csdx auth:login
-
Create Compass Starter stack using CLI bootstrap command
csdx cm:bootstrap --app-name compass-app --project-dir <project-dir> --org <org-uid> -n <stack-name>
Refer to the Bootstrap command documentation to learn more.