Table of Contents
Monorepo template for client-server applications using KeystoneJS (as a server) and NextJS (as a client). There is also common library to share code between both server and client.
First approach to create monorepo was using Nx. But KeystoneJS is at the time of creating this repo not really suited to be used in monorepo. See discussion. Came up with this solution using Yarn workspaces which is not that convenient but working.
- Node@16
- Yarn
Install packages:
yarn install
Just change names in package.json files and install packages.
To run bootstraped code locally run yarn dev:server
to run server and yarn dev:client
to run client.