Spring Cloud Contract with Node JS application
Clone or download
Latest commit 99ae0cb Sep 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Added scripts for tests Aug 21, 2018
client Frontend Added Oct 30, 2015
contracts Simple example ready Aug 21, 2018
docker Added scripts for tests Aug 21, 2018
git_repository Added scripts for tests Aug 21, 2018
json Added verbose Sep 10, 2018
models Update server side javascripts to ES6 Sep 19, 2016
scripts Added scripts for tests Aug 21, 2018
spring-cloud-contract-nodejs-external-contracts @ 50cdfc9 Fixed setup Aug 21, 2018
.gitignore Added nohup to gitignore Aug 21, 2018
.gitmodules Fixed setup Aug 21, 2018
README.md Update README.md Aug 21, 2018
app.js Fixed code for mac Aug 21, 2018
package.json Fixed setup Aug 21, 2018
run_contract_tests.sh Fixed code for mac Aug 21, 2018
run_contract_tests_from_external_contracts.sh Fixed code for mac Aug 21, 2018
run_contract_tests_from_git.sh Fixed code for mac Aug 21, 2018
run_stub_runner_boot.sh Bumped contract Aug 21, 2018
run_stub_runner_boot_from_git.sh Bumped contract Aug 21, 2018
run_tests.sh Bumped contract Aug 21, 2018
run_tests_for_external.sh Bumped contract Aug 21, 2018
run_tests_from_git.sh Bumped contract Aug 21, 2018
setup_infra.sh Fixed code for mac Aug 21, 2018
setup_infra_without_artifactory.sh Added scripts for tests Aug 21, 2018
spring-cloud-contract.adoc Fixed setup Aug 21, 2018
stop_infra.sh Added scripts for tests Aug 21, 2018
upload_external_contracts_to_artifactory.sh Fixed code for mac Aug 21, 2018
whats_my_ip.sh Fixed code for mac Aug 21, 2018

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.