Full stack boilerplate for Strapi + Next.js + Chakra UI projects
Features:
- A monorepo to run Strapi and your Next.js client from a single command
yarn dev
(useslerna
under the hood) - Options to run just the frontend - once you've deployed your project and setup the
CMS_URL_PRODUCTION
in theclient
package - A basic Next.js app with Chakra UI ready to customise with your own branding (also includes some basic components and Strapi authentication)
Setup gomplate
and copy env and customization files.
sh $PWD/scripts/init
- Setup your repos (or you can add the links later)
- Add your project settings to
customize.json
.
NOTE: If you need to generate an admin JWT secret token for Strapi
node -e "console.log(require('crypto').randomBytes(64).toString('base64'))" | pbcopy
sh $PWD/scripts/customize
We recommend using a submodule for the packages/cms
package so you can freely deploy this on Heroku, Digital Ocean,
AWS or anywhere you can host a node server.