This is a code repository of Takuya Iwashiro's developer blog.
It's composed from Strapi and Next.js.
TypeScript
Strapi
Next.js
yarn v3
turborepo
- Jest
- Storybook
- reg-suit
- eslint
- stylelint
- styled-jsx-plugin-stylelint
- commitlint
- prettier
Github Actions
asdf plugin add nodejs
asdf install
yarn install
npm install -g commitizen
echo HOST=0.0.0.0\nPORT=1337\nAPP_KEYS=myApiKey\nAPI_TOKEN_SALT=myApiTokenSalt\nADMIN_JWT_SECRET=myAdminJwtSecret\nDATABASE_USERNAME=postgres\nDATABASE_PASSWORD=postgres >> packages/takudev-cms/.env
echo STAGE=development\nSTRAPI_HOST=http://127.0.0.1:1337\nNEXT_PUBLIC_BASE_URL=http://localhost:3000 >> packages/takudev-web/.env.local
cd packages/takudev-cms
docker-compose up -d
cd packages/takudev-cms
yarn build
yarn develop
cd packages/takudev-web
yarn dev