| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
For more detailed step by step guide on how to build this app, please refer to the blogs on - http://sunitc.dev/tag/spring-boot/
Pre-requisite (for first time run only)
Create a folder for mysql volume mount
mkdir -p ~/data/mysql8
Build
./gradlew clean build
Run via Docker Compose
docker-compose up -d --build --scale application=2
| Username | Password | ROLE |
|---|---|---|
| admin01@tw.com | admin01@123# | ADMIN |
| admin02@tw.com | admin02@123# | ADMIN |
| user01@tw.com | welcome@123# | USER |
curl --location --request POST 'dev-sandbox/api/v1/auth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"userName": "admin01@tw.com",
"password": "admin01@123#"
}'
curl --location --request GET 'dev-sandbox/api/v1/customer/?pageNum=0&pageSize=10' \ --header 'Authorization: Bearer <<REPLACE JWT TOKEN HERE>>'
In above code, replace the text <<REPLACE JWT TOKEN HERE>> with JWT token from Auth API
| Back | FazBrowse Home | New Git URL |