deutsche-bank-demo
This is a demo project for Deutsche Bank. The project was made with MVC architectural pattern.
Java 17 or higher
docker-compose -f infrastructure/postgresql.yml up -d
(optional). If you don't want to use docker, you can use your own database. Just change the spring.datasource.url
property in application-dev.yml
file. The default database is deutsche_bank_demo
and the default user is my_admin
with password my_password
../mvnw spring-boot:run
http://localhost:8080
./mvnw test
The documentation is available at Swagger UI
Create a new NACE record
curl --location --request POST 'http://localhost:8080/nace' \
--header 'Content-Type: application/json' \
--data-raw '{
"level": 1,
"code": "code",
"parent": "parent",
"description": "description",
"includes": "includes",
"also_includes": "alsoIncludes",
"rulings": "rulings",
"excludes": "excludes",
"reference": "reference"
}'
Get a NACE record by id
curl --location --request GET 'http://localhost:8080/nace/7'
Get a NACE record by code
curl --location --request GET 'http://localhost:8080/nace/c/AA'