Required! Docker installed.
- Go to
/apidirectory - Start up the database using
docker - Start the API
# cd /api
$ docker-compose up -d
$ ./gradlew bootRun- API needs to be running.
- Go to
/webdirectory - Install application and start it, installation might take a few minutes.
# cd /web
$ yarn install
$ yarn startWe can run react tests without having the API and Front-end running.
Go to /web directory
# cd /web
$ yarn testDatabase, API and Front-end need to be running, make sure you've followed the steps presented above.
# cd /api
$ docker-compose up -d
$ ./gradlew bootRun
# cd /web
$ yarn start
$ yarn cy:runIf you want to open cypress client, run yarn cypress open insteand.
We only need the database running. There is one TODO here, which is configuring the tests so the data generated by them gets rolled back at the end.
Go to /api
# cd /api
$ docker-compose up -d
$ ./gradlew test