Run yarn
Create .env
file with followed data:
API_URL=
Ask for token and key represented above from admin
- Run
yarn server
for a dev server. - Open
lvh.me:3000
. - The app will automatically reload if you change any of the source files.
server
- local server on 3000 port by defaultbuild
- build Next.jstest:jest
- run Jest tests with autowatch for changestest:e2e
- run Cypress testsci:jest
- run Jest in CI without watchci:e2e
- run Cypress in CI with running Next.js serverlint:js
- run eslintlint:css
- run stylelintcy:install
- install Cypresscy:open
- open Cypress appprint-env
- run print-env to print environment variables
The staging area can be found at the following link: https://facegame-staging.herokuapp.com/
React Next Base is maintained by Flatstack with the help of our contributors.