Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 986 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 986 Bytes

Example Express/Redis on Docker Compose app

Build Status

Requirements: Tilt

To start the app run:

tilt up

Tilt will assemble an image, deploy the app, and live update using Docker Compose.

View the app at http://localhost:3000/

When you make a change to server.js, Tilt will sync the file to the container and restart the app.

For more details on how this works, see the Tilt Docker Compose documentation.

Endpoints

Hello World

curl http://localhost:3000

Storing Data

curl http://localhost:3000/store/my-key\?some\=value\&some-other\=other-value

Fetching Data

curl http://localhost:3000/my-key

Courtesy of this original sample app.