This repository contains the source code and design documents for MOSIP Pre-registration server. For an overview refer here. The modules exposes API endpoints. For a reference front-end UI implementation refer to Pre-registration UI github repo. Pre-registration Developers Guide here
Pre-registration module consists of the following services:
- Application
- Booking
- Batchjob
- Datasync
- Capthca
See DB guide
To run Pre-registration services, run Config Server
Prerequisites:
- Config Server
- JDK 21 and Java21 Artifactory Jars here
- Build and install:
$ cd kernel $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
- Build Docker for a service:
$ cd <service folder> $ docker build -f Dockerfile
- Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
export KUBECONFIG=~/.kube/<k8s-cluster.config>
$ cd deploy
$ ./install.sh
$ cd deploy
$ ./delete.sh
$ cd deploy
$ ./restart.sh
Refer to the configuration guide.
Automated functional tests available in Functional Tests repo.
API documentation is available here.
This project is licensed under the terms of Mozilla Public License 2.0.