Skip to content

chaibuilder/nextjs

Repository files navigation

Chai Builder + NextJS Starter

Getting Started

Easily create a new Chai Builder app with NextJS. This starter includes everything you need to get started with Chai Builder and NextJS.


Step 1: Get FREE API keys

Get your keys from here

NOTE: The above backend service is optional. You can use your own backend. We will soon open source our backend service.

Step 2: Deploy to hosting provider

Deploy with Vercel Deploy to Netlify


Run Locally

1- Open Terminal and enter below command to setup chaibuilder app

npx chaibuilder-app new-site

2 - Create an .env file and update your app API keys. Get your API keys from here

CHAIBUILDER_APP_KEY = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
CHAIBUILDER_AUTH_SECRET = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

3- Go to editor terminal, Install and run app dependency with your favourite package manager

npm install && npm run dev
pnpm install && pnpm run dev
yarn install && yarn run dev

Next:

  • Visit the /admin route, unleash the builder, and let creativity unfold
  • Add, update, and modify page and app settings; then save and publish effortlessly.
  • It's time to view your page and showcase your creativity to the world.