This application provide Registration User Services.
- Java - 11.
- Maven - 3.x.x.
- Cockroach for dev, staging, prod environment.
- H2 for local environment.
- Docker.
- Swagger UI.
- Build and run the application using docker
docker-compose up -d
Notes: If you are using Linux and facing a problem seem likes /bin/sh: ./mvnw: Permission denied
To do resolved that:
chmod +x mvnw
Run again: docker-compose up -d
-
In memory H2 database: http://localhost:8080/h2 (JDBC URL: jdbc:h2:mem:h2db, User Name: sa)
-
Swagger UI: http://localhost:8080/swagger-ui.html
- Build project: mvn clean install
- Test coverage verification: mvn jacoco:check. Detail test coverage at least 70%, please go to folder {current_source_folder}/target/site/jacoco/index.html
- Checkstyle: mvn checkstyle:check
- I have attached postman file. You can import and testing with API for Mobile Developer Test Collection.
- We can leverage docker to scale up and down by using containerized application.
- To easily change logic, we can apply rule engine.