{"repo":"jonyfs/credit-card-api","free":true,"listed":false,"github":"https://github.com/jonyfs/credit-card-api","clone":"git clone https://github.com/jonyfs/credit-card-api.git","description":"Sample with TDD, Spring Boot, Embedded MongoDB, HATEOAS and Spring REST Docs","language":"Java","stars":21,"topics":["java","spring-boot","spring-rest","asciidoctor","diagram","credit-card","mongodb","payment","continuous-integration","continuous-deployment"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Credit Card API Example Example with Integration Tests, Spring Boot, Embedded MongoDB, HATEOAS, Spring REST Docs and AsciiDoctor The Credit Card API uses GitHub Actions and Heroku for Continuous Delivery. Model Class Diagram Api Class Diagram Api Sequence Diagram - Do Payment Api Sequence Diagram - Get Payment MongoDB Config (Tests) In-memory MongoDB provided by mongo-java-server (no external process required for tests) Database: credit-card Collections: payments For production, configure spring.data.mongodb.uri or spring.data.mongodb.host/port/database in application.properties . Obs.: MongoDB Compass can be used as a GUI client. Spring Boot Config See application.properties Tech Stack Technology Version --- --- Java 21 Spring Boot 3.3.6 Spring HATEOAS 2.3.x Spring REST Docs 3.x MongoDB Driver 5.x mongo-java-server (test) 1.47.0 Maven 3.9.9 Tools Spring Boot SPRING INITIALIZR Spring REST Docs MongoDB mongo-java-server de.flapdoodle.embed.mongo AsciiDoctor AsciiDoctor file See credit-card-api.adoc API Document Sample See credit-card-api.pdf How to build and run? Requirements: Java 21 , Maven 3.9+ How to run tests? How to access? Local: http://localhost:8080/api Online: https://creditcardapi.herokuapp.com/api","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonyfs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonyfs/credit-card-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}