This repository holds the applications used to manage user profiles for Gov-IE.
Start the database with the following command.
docker-compose up -d
Change the variables in the .env
file to match the database configuration.
Then, run the migrations to create the database and tables.
pnpm db:migrate
To rollback the migrations, run the following command.
pnpm db:rollback
Run the following command to start the frontend and backend applications in development mode.
pnpm dev
To start the frontend and backend applications separately, run the following commands.
pnpm dev:www
pnpm dev:api
Run the following command to run the tests for the frontend and backend applications.
pnpm test
To run tests for the frontend and backend applications separately, run the following commands.
pnpm test:www
pnpm test:api
To run tests interactively, run the following commands.
pnpm test:local
Or:
pnpm test:local:www
pnpm test:local:api
End-to-end tests are run using Bruno. Download the Bruno application and run the scenarios in the e2e
folder.