Public Repository

Last pushed: 2 years ago
Short Description
A simple REST api for CRUD tasks.
Full Description


This is a REST API to CRUD tasks with taskservices (Node.js + Express) and repository (mongodb) for demo only.

How To Use

create local data repository

mkdir data/db

spin off mongo and map data repository volume

docker run --name mongo -v "$(pwd)/data/db":/data/db -d mongo --smallfiles

spin off taskservices by connecting to mongo instance

docker run --rm --name taskservices --link mongo:mongo -w /data -p 3000:3000 smiao/taskservices
Docker Pull Command