Service that generates a type from a given string, date, phone number, string, integer, etc...
No patterns are seeded yet.
- Create Pattern
- Update Pattern
- Get Pattern
- Delete Pattern
- Resolve String Type
The project is a Spring Boot application, thus it is started via the usual Spring Bootstrap Gradle method.
Gradle -> bootRun
The test coverage, unit, and integration tests can be run with the following gradle method.
Gradle -> test
Note, you will need to have Mongo running for the integration tests.
The project includes a Docker-Compose script for running the entire application. Swagger documentation and seeded DB will be added in the future to help run out of the box.
To run from docker:
- Make sure that the Docker is installed and running.
- Assemble this project. Or
./gradlew assemble
from terminal. - Run
docker-compose up --build
from the root project. - On another terminal run
docker ps
to see assigned ports.
- Docker 17.xx.x
- JDK 10
- Mongo 3.x
- IntelliJ 2018
This project is licensed under the MIT License