/tlp-next-eid

Next JS applikasjon for eid.difi.no

Primary LanguageTypeScriptMIT LicenseMIT



eId help pages frontend

A Next.js application for the eId help pages that uses a drupal application as an API.


Get started with development ✨

1. Install Node and PNPM

Make sure node and pnpm is installed. You can do this by running:

node --version && pnpm --version

2. Install dependencies

(run command from root of the project)

pnpm install

3. Start Next.js

Serve the Next.js app on localhost:

pnpm dev

Commit ✍️

This ropo uses the Conventional Commits specification in order to create nice and readable changelogs. The Semantic Versioning 2.0 specification is used for versioning.

Styling 🎨

CSS modules is used for styling in this library. Camelcase is used as the naming convention for the classes.

Testing 🪛

Run the following command to start the tests using React Testing Library

yarn test