A dashboard for monitoring abuse on social media platforms
backend: java spring boot backend of the dashboardfrontend: react.js frontend of the a dashboard
The backend and frontend are usually built into a single docker container.
In order to launch the main app, you need to:
- Git clone this repository
- Copy the sample
application.ymlfile from the project root directory to the./backenddirectory. This file defines things like people/elastic index/default dates you'll be launching the app with - Go to
./backendand run./mvnw spring-boot:run - Go to
./frontendand runnpm install, thennpm start - App should be available at
localhost:3000(unless port changed)
Depending on the version of docker compose you have installed one of the following commands should allow you to build the single container (you can build it without using compose as long as you specify the correct tag etc.)
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build
docker-buildx bake -f docker-compose.yml
docker compose build
Once built the container can be used in the normal fashion