This is a full stack application for adding and retrieving credit cards. The project is separated in two modules: credit-card-processing-frontend and credit-card-processing-ws.
- Java JDK 11
Download and install Java JDK 11 from the Java official webpage.
Set JAVA_HOME environment variable to point to this installation.
In order to compile/test/run the project, go to credit-card-processing-ws module and execute the provided Maven wrapper.
../mvnw -B compile
../mvnw -B test
You can run the project either running the JAR or using spring-boot maven plugin:
../mvnw spring-boot:run
The API will be deployed at http://localhost:8080. You can check the API documentation in http://localhost:8080/swagger-ui.html.
- Angular CLI 7.3
- Node 10.10
In order to compile/test/run the frontend, go to credit-card-processing-frontend module and execute ng commands.
npm install @angular/cli
ng build
ng test
ng serve