- Check prerequisites.
- Run
npm install
. - Create environment variables file:
- Make copy of
.env_template
file. - Update values in the copy.
- Rename copy to
.env
.
- Make copy of
- Run
npm run cypress:open
ornpx cypress open
to start Cypress. - A window will open with the Cypress test runner.
- Node - Ensure that your Node version is
18.x
or20.x
and above (docs). - For Linux users - For Linux users, it's essential to verify the presence of all the required packages mentioned in the documentation.
- For WSL users - If you are using WSL, confirm the installation of an X-Server, a popular choice is VcXsrv.
Link to collection, just download and import into the Postman.
- Start Postgres instance.
docker run --name shopmost-db -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=shopmost -d -p 5432:5432 postgres:13.12
- In Shopmost checkout to latest working branch (optionally create your own branch for testing purposes).
git checkout 1d95be030580401426ab7e66966dd804a14be64e git switch -c testing
- Setup Shopmost application.