Skip to content

ogcio/govie-services-profile

Repository files navigation

Gov-IE Services - Profile

This repository holds the applications used to manage user profiles for Gov-IE.

Database

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

Development

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

Testing

Unit Tests

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

End-to-end tests are run using Bruno. Download the Bruno application and run the scenarios in the e2e folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •