The goal of this project is to secure cvproject
using Keycloak. cvproject
consists of two applications: one is a Spring Boot Rest API called CVProject_Server
and another is a React application called cvproject-ui
.
-
Open
docker-compose
file inCV_Project/CVProject_Server
and change the project path... nodejs: build: D:\FORK\CV_Project\cvproject-ui ... mail: build: D:\FORK\CV_Project\Mail
-
Open terminal and navigate to
CV_Project/CVProject_Server
folder and run the command below -
Make sure that you have downloaded docker
docker compose up
-
After running successfully, access to
localhost:8080
and loginusername:
admin
andpassword:
admin
to config keycloak -
Click
import client
and import thereact-auth.json
inkeycloak-setting
-
Access
localhost:3001
and login to web app, using excel file inimport-file
to add new data
Application | URL | Credentials |
---|---|---|
cproject-server | http://localhost:8088 | |
cvproject-ui | http://localhost:3001 | |
Keycloak | http://localhost:8080/admin |
-
To stop
CV_Project
, go to the terminals where they are running and pressCtrl+C
-
To stop and remove docker compose containers, network and volumes, go to a terminal and, inside
CV_Project
root folder, run the command belowdocker compose down -v
-
In a terminal, make sure you are in
CV_Project/cvproject-ui
folder -
Run the following commands
npm upgrade npm i -g npm-check-updates ncu -u npm install
Ho Thanh Kien 💻 |
wnosphan 💻 |
Võ Công Huy 💻 |
lock1723 💻 |