This project is based on CMS prototype, the difference between the prototype and current state is available as git diff
mvn spotless:apply # format code
mvn spotless:check # check if code is formatted
npm run fix # format code and run eslint fix
mvn test
npm run test
npm run e2e
docker compose up -d --build
docker compose up -d
docker compose down
docker compose up -d backend
cd frontend
npm install
npm start
URL | Service | Container |
---|---|---|
localhost:8080 | spring-boot | backend |
localhost:80 | nginx | frontend |
localhost:8025 | mailpit ui | mailpit |
localhost:1025 | mailpit smtp server | mailpit |
localhost:5432 | postgres | postgres |
localhost:8108 | typesense | typesense |
Please read the instructions in the .env.example
file (located in the main project directory). Copy the file and name it .env
. Adjust all configuration variables in that file. When first deploying the application using docker-compose
, the variable DATABASE_SCHEMA_HANDLING_ON_STARTUP
should be set to create
. Once deployed, the value should be changed to validate
or update
. Details can be found in the comments available in .env.example
file.