Skip to content

SURFnet/student-mobility-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

student-mobility-broker

Build codecov

Broker for educational cross-institution registrations.

  • Java 8
  • Maven 3
  • Yarn 1.x
  • NodeJS 14+

Set the JAVA_HOME property for maven (example for macOS):

export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/

The use of a MySQL database is optional. If you want to enable sessions backed up by the database, create a database:

DROP DATABASE IF EXISTS student_mobility;
CREATE DATABASE student_mobility CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
CREATE USER 'student_mobility'@'localhost' IDENTIFIED BY 'secret';
GRANT ALL privileges ON `student_mobility`.* TO 'student_mobility'@'localhost';

This project uses Spring Boot and Maven. To run locally, type:

cd student-mobility-broker-server
mvn spring-boot:run

To build and deploy (the latter requires credentials in your maven settings):

mvn clean deploy

The client is build with Svelte and to get initially started:

cd student-mobility-broker-client
yarn install
yarn dev

Browse to the application homepage.