- A service handles about user information.
- This service provides APIs to CRUD user data.
- This service provides authentication and authorization.
- Service uses MySQL as RDBMS database
- Spring boot, secure, JPA
- Mapstruct
- OOP
- Oauth2, JWT
- Copy
application-local-template.properties
toapplication-local.properties
- Add environment variable
SPRING_PROFILES_ACTIVE=local
- Start MySQL
- Run database changelog from this
- Generate key pair
- create certs folder
cd src/main/resources/certs
- generate RSA private key using openssl
3.
openssl genrsa -out keypair.pem 2048
- extract public key from private key
4.
openssl rsa -in keypair.pem -pubout -out publicKey.pem
- format private key in supported format (PKCS8)
6.
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out privateKey.pem
- create certs folder
- start maven