Skip to content

Informasjonsforvaltning/terms-and-conditions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Terms and conditions

This application provides an API for terms and conditions text (with versioning data) and a service for users to accept the terms and conditions on behalf of organizations.

For a broader understanding of the system’s context, refer to the architecture documentation wiki. For more specific context on this application, see the Registration and IAM subsystem section.

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ensure you have the following installed:

  • Java 21
  • Maven
  • Docker

Running locally

Clone the repository

git clone https://github.com/Informasjonsforvaltning/terms-and-conditions.git
cd terms-and-conditions

Start MongoDB and the application (either through your IDE using the dev profile, or via CLI):

docker compose up -d
mvn spring-boot:run -Dspring-boot.run.profiles=develop

API Documentation (OpenAPI)

Once the application is running locally, the API documentation can be accessed at http://localhost:8080/swagger-ui/index.html

Running tests

mvn verify

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 7