- Node (10.9.x)
- Yarn
yarn install
- Make sure you have our backend up and running.
- Then, go to your AccountKit settings and get both your App Id and App Secret.
- Run
FACEBOOK_APP_ID=yourAppId ACCOUNT_KIT_APP_SECRET=yourAppSecret yarn start
- Check
http://localhost:3000/
Before anything else, you must ave docker
and docker-compose
installed in your system.
- Ensure backend services are up and running.
- Copy
.local.env.example
as.local.env
and substitute all keys with proper values. - Start all services with
docker-compose up -d
. - Start
next.js
withdocker-compose exec frontend yarn start
.
To use https
locally, check the instructions in the README from backend, the frontend will be available in https://dev.emcasa.com.
yarn test
to run automated unit, integration and end to end tests with Jest and Cypress.
If you want to open Cypress UI to run end to end tests manually, watch the process and use debugging tools run yarn cy:open
.
yarn analyze
to build the app and run the bundle analyzer tool.
Output file with bundle sizes will be created at .next/stats.txt
Feel free to open issues and PRs.