Web Service for the workshop
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
helpers
models
public
routes
tests
.dockerignore
.gitignore
Dockerfile
Procfile
README.md
app.js
app.json
docker-compose.yml
package.json

README.md

restful-booker

A simple Node booking form for testing RESTful web services.

Requirements

  • Docker 17.09.0
  • Docker Compose 1.16.1

Installation

  1. Ensure mongo is up and running by executing mongod in your terminal
  2. Clone the repo
  3. Navigate into the restful-booker root folder
  4. Run npm install
  5. Run npm start

Or you can run this via Docker:

  1. Clone the repo
  2. Navigate into the restful-booker root folder
  3. Run docker-compose build
  4. Run docker-compose up
  5. APIs are exposed on http://localhost:3001

API

API details can be found on the publically deployed version of Restful-Booker.