Skip to content

navikt/smregistrering-backend

Repository files navigation

Build status

Manual registration of paper sykmelding

Repo for manual registration of paper sykmelding, receives paper sykmelding and in turns them into digital sykmeldings

Technologies used

  • Kotlin
  • Ktor
  • Gradle
  • Junit
  • Jackson

Requirements

  • JDK 21
  • Docker

FlowChart

This the high level flow for the application

  graph LR;
        
      smregistrering-backend --- smregistrering;
      smregistrering-backend -- check caseworker access --- istilgangskontroll;
      smregistrering-backend -- create,get,complete oppgave --- oppgave;
      smregistrering-backend -- verify token --- azure-AD;
      smregistrering-backend --- id1[(Database)];
 
Loading

Build and run tests

To build locally and run the integration tests you can simply run

./gradlew shadowJar

or on windows gradlew.bat shadowJar

Creating a docker image

Creating a docker image should be as simple as

docker build -t smregistrering-backend .

Running a docker image

docker run --rm -it -p 8080:8080 smregistrering-backend

Access to the Postgres database

For information on connecting to dev og prod database see: Postgres GCP

Upgrading the gradle wrapper

Find the newest version of gradle here: https://gradle.org/releases/ Then run this command:

./gradlew wrapper --gradle-version $gradleVersjon

Contact

This project is maintained by navikt/teamsykmelding

Questions and/or feature requests? Please create an issue

If you work in @navikt you can reach us at the Slack channel #team-sykmelding

About

Papirsykmelding registering manuelt backend, frontend app: https://github.com/navikt/syk-dig

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages