Skip to content

UniversityofHelsinki/compass-backend

Repository files navigation

Setting Necessary Headers Locally

When developing or testing the application locally, you need to set the necessary headers to simulate the authentication process handled by Shibboleth in a production environment.

  • eppn: The unique identifier for the user.
  • eduPersonAffiliation: The user's affiliation (optional).
  • preferredlanguage: The user's preferred language (optional).
  • hyGroupCn: The user's group (optional).
  • displayName: The user's display name (optional).

Installation

After cloning the repository, navigate to the project directory and run: npm install

This will install all the necessary dependencies.

Usage

Create .env file to host environment variables DB_HOST=http://localhost:8000 ALLOWED_ORIGIN=http://localhost:3000 URL_SIGNER_KEY=whatever

Node Express template project

This project is based on a GitLab Project Template.

Improvements can be proposed in the original project.

CI/CD with Auto DevOps

This template is compatible with Auto DevOps.

If Auto DevOps is not already enabled for this project, you can turn it on in the project settings.

Developing with Gitpod

This template has a fully-automated dev setup for Gitpod.

If you open this project in Gitpod, you'll get all Node dependencies pre-installed.

About

Reflection Compass backend service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •