NOTE: Moved to https://github.com/navikt/nada-markedsplassen
Install Node18 or later
Install dependencies:
npm install
Optionally add binaries for local node_modules in path:
export PATH=./node_modules/.bin:$PATH
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Fetch the latest version of the schema from the backend Then run
npx openapi-typescript ../nada-backend/spec-v1.0.yaml --output lib/schema/schema.ts
npm run format-schema