brunopenso / multi-integration-library-test

Repository for testing https://github.com/brunopenso/multi-integration-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multi-integration-library-test

Repository for testing https://github.com/brunopenso/multi-integration-library

Run as Docker

docker build -t multintegration:1 .
docker container run --name testlocal --publish 3000:3000 multintegration:1
docker container stop testlocal
docker container rm testlocal

Run as Express server

npm run express

Testing

curl -v http://localhost:3000/todo
curl -v http://localhost:3000/todo/123
curl -v http://localhost:3000/todo/123/checklist
curl -v -d "{todo: 'my new todo'}" POST http://localhost:3000/todo
curl -v -H 'x-my-customheader: myvalue' http://localhost:3000/todo/123/checklist/1
curl -v DELETE http://localhost:3000/todo/567

About

Repository for testing https://github.com/brunopenso/multi-integration-library

License:MIT License


Languages

Language:JavaScript 91.1%Language:Dockerfile 8.9%