Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Select Git revision
  • main
1 result

emrex_bridge

  • Clone with SSH
  • Clone with HTTPS
  • Nest Logo Nest Logo

    OOTS - EMREX Bridge

    Backend app for messaging between OOTS and EMREX

    Table of Contents

    1. Description
    2. Getting started
    3. Prerequisites
    4. Installation
    5. Running the app
    6. Design
    7. Licensing

    Description

    This app is an API which allows the connection between OOTS & EMREX through Domibus messages.

    Getting started

    In order to run the project it is needed to create a .env file locally.

    Variables to fill:

    • SERVER_ACCESS_POINT: Domibus url for server access point
    • CLIENT_ACCESS_POINT: Domibus url for client access point
    • BRIDGE_FRONTEND: Url of the emrex_bridge_frontend deployment

    Prerequisites

    Installation

    For the installation of this project it is recommended to have nvm installed. In case you don't want to install nvm, just make sure to use the NodeJS version that appears in file .nvmrc.

    $ nvm use
    $ yarn install

    Running the app

    Run the project locally

    # development
    $ yarn run start
    
    # watch mode
    $ yarn run start:dev
    
    # production
    $ yarn build
    $ yarn start

    Run with docker

    $ docker-compose up --build

    Design

    The design of the project splits into two main parts: client & server. Both of this are APIs that can be called externaly by our two frontends: OOTS Emrex Procedure Portal & Preview Space.

    The client is mainly called by the Bridge App to send and receive messages to EMREX through Domibus, send student's data and receive student's information in an academic environment. On the other hand, the server is mainly called by the Preview Space to interact directly with EMREX with the same purpose.

    License

    This software is licensed under European Union Public License (EUPL) version 1.2.