Spring Cloud Contract with Node JS application
HTML JavaScript Shell CSS
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit behind spring-cloud-samples:sc-contract.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
contracts
docker
json
models
.gitignore
.gitmodules
README.md
app.js
package.json
run_contract_tests.sh
run_stub_runner_boot.sh
run_tests.sh
setup_infra.sh
spring-cloud-contract.adoc
stop_infra.sh
whats_my_ip.sh

README.md

Forked from https://github.com/bradtraversy/bookstore

Bookstore

Bookstore is a simple web application which includes and Express RESTful API server and a front end in AngularJS

The video tutorial that goes with this project can be found here https://www.youtube.com/watch?v=eB9Fq9I5ocs

Usage

Just clone or download and run npm install and then node app to start

##Notes## The Genres Angular controller is blank on purpose. This is for you to try and come up with after watching the video. It may be added in the future

SPRING CLOUD CONTRACT

Just run npm test to execute contract tests and publish the jars to artifactory. Requires Docker and Docker Compose!

Click here to read an article contains a short reminder of what Contract Testing is, how Spring Cloud Contract implements it, and how Spring Cloud Contract can be used in a polyglot world.