*Replace yarn with your package manager (e.g. npm, pnpm)


Run in development mode

Run server and website:

yarn start:dev

Or use 2 terminals

  1. Run server (terminal 1)
yarn server
  1. Run website in development mode (terminal 2)
yarn dev

Run in production mode

  1. Build website
yarn build
  1. Run server and website
yarn start:prod

Or use 2 terminals:

  1. Build website
yarn build
  1. Run server (terminal 1)
yarn server
  1. Run website in production mode (terminal 2)
yarn dev