Getting Started - Backend
Prerequisites​
-
Java version 21
-
Springboot version 3.2.10. This comes with new versions of Spring Security and Hibernate version 6.
-
Postgres
-
Netflix Eureka
-
Spring Gateway
SetUp​
In order to work with Data Viz Api, we have projects that are installed via submodules. This needs to be installed when cloning the project. This can be done through the following command.
Run
git clone --recurse-submodules your-repo-url
# SSH
git clone --recurse-submodules git@github.com:devgateway/data-viz-example.git
# HTTPS
git clone --recurse-submodules https://github.com/devgateway/data-viz-example.git
After a successful clone of the project, you will notice 2 folders deploy and services.
Project Structure​
The backend depends on 2 major projects in this folders:
1. deploy​
This project data-viz-deploy contains files used in deployment e.g Jenkinsfile, docker-compose.yml, nginx e.t.c
2. services​
This contains different api services that provide data for the frontend. Ideally each service contains a different data set from different sources.