There are currently three parts of the application:
- frontend in ReactJS
- new backend in NodeJS
- old backend in Java Spring Boot
The idea is to migrate the Java backend into NodeJS backend, but it will take some time.
There is a travis file (.travis.yml
) showing all the necessary steps to deploy the application.
- node (https://nodejs.org/) and npm (included with node)
- jdk 17 (https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)
- gradle (https://gradle.org/install/)
- docker (https://www.docker.com/get-started/)
- ports 8080 for Java backend, 3030 for NodeJS backend and 3000 for ReactJS frontend
npm run build:postgres
to build docker andnpm run start:postgres
to start the postgres docker imagenpm run build:java
to build java andnpm run build:java:docker
to build docker andnpm run start:java
to start the Java backend in the built dockernpm run install:backend
to build andnpm run start:backend
to start the NodeJS backendnpm run install:frontend
to build andnpm run start:frontend
to start the ReactJS frontend
To avoid installing gradle/jdk perhaps the jar for the Java backend will be accessible somewhere and docker will just be downloading it.