Run yarn
Note: you must have the required version of Node.js installed, as specified in the package.json file
Create .env
file at the root of project with the necessary variables that are specified in the file .env.example
Request the values for the variables from the admin
Note: If you create new variables, don't forget to add them to the next.config.mjs and .env.example files
Ask for token and key from admin
- Run
yarn server
for a dev server. - Open
localhost:8080
.
The app will automatically reload if you change any of the source files.
server
- local server on 8080 port by defaultbuild
- build Next.jstest
- run Jest tests with autowatch for changesci:jest
- run Jest in CI without watchci:pw-run
- run Playwright in CI with production build Next.js serverlint:js
- run eslintlint:css
- run stylelintprint-env
- run print-env to print environment variablespw-run
- run playwright testsgen:types
- run gen graphql-codegen for generate typessb
- run local storybook server on 6006 port