Skip to content

R-0-m-a/dama-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img.png DAMA

The web application is a web catalog for earrings

click here to visit the catalog (username und password see table below)

Diagram for Web application

img.png

Technology Stack

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
ROLE_ADMIN:
ROLE_USER:
  • 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.

Docker. Deployment full web application with Mongo database

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/.

img.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published