click here to visit the catalog (username und password see table below)
Link to a project | |
---|---|
Client - Frontend/UI |
more details Dama UI |
Server - Backend |
more details Dama Api Service |
Each user in the app will have a primary role and permissions to allow or deny access to content.
Username | Password | Role | Permission |
---|---|---|---|
user |
user |
ROLE_USER |
can only read data |
admin |
admin |
ROLE_ADMIN , ROLE_USER |
can create, read, update, and delete data |
- can create parts for earrings. Demonstration for creating a new earring detail.
- can create new earrings from existing earring details. Demonstration for creating a new earring.
- has the ability to customize parameters to calculate the total cost of earrings (premium rate and delivery price). Demonstration for configuration the price.
- can only view the existing and only see the total price of the earrings. The price for earring details, premium rate and delivery price are hidden. Demonstration for login as user.
Also, possible to register a new user. Demonstration of registration a new user.
Go to directory ./docker
. File .env contains environment variables for the application. Edit the data as needed.
# Configuration for DB
DB_HOST=mongo
# Root user
DB_ROOT_USERNAME=admin
DB_ROOT_PASSWORD=admin1234
# Initialization DB for the application
DB_NAME=dama_db
DB_USER_NAME=dama
DB_USER_PASSWORD=damaTest
# Parameter for validation a token
JWT_SECRET=DemoTestDockerJWTforJavaDama2021secretEarringApplicationMilkaBelarussecretDeutschDublikateaDama2021secretEarringAppl
# Configuration for Logger
LOG_DIR=./logs
To deploy web app run:
docker-compose up -d
Navigate to http://localhost:8082/
.