Skip to content

individdata/egendata-wallet

Repository files navigation

Digital wallet

This is the digital wallet application.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Docker

Build the docker image with

podman build -t wallet .

To run use the command

podman run -p 3000:3000 --env-file .env wallet

Internationalization (i18n)

All messages should have unique ids. ESlint enforces and generates them when you run:

npm run lint -- --fix

To extract all messages from the code base run the following command. The lang/en.json file will be replaced and the lang/sv.json will be updated.

npm run lang:extract

To compile new language files run:

npm run lang:compile