gridfs-api

0.1.3 • Public • Published

GridFS API

Codeship Status for rafaeljesus/gridfs-api Docker Image Size Docker Image Pulls NPM version bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

js-standard-style

  • Exposes a REST API for MongoDB GridFS

Installation

npm install -g gridfs-api

Running server

To run a suite tests execute:

npm run build && npm run serve

Built with

  • nodejs Backend is a node-v.5.7.1.
  • koa API is a KOA app. It respond to requests RESTfully in JSON.
  • Mongodb Mongodb as a data store.

Docker

This repository has automated image builds on hub.docker.com.

Use docker-mongodb and run command described there

Finally run:

$ docker-machine start default
$ eval $(docker-machine env default)
$ docker run -it -e "NODE_ENV=development" -v "$(pwd)":/data --link mongo:mongo -w /data -p 3000:3000 rafaeljesus/gridfs-api
$ curl `docker-machine ip default`:3000

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Maintaners

Readme

Keywords

none

Package Sidebar

Install

npm i gridfs-api

Weekly Downloads

0

Version

0.1.3

License

MIT

Last publish

Collaborators

  • rafaeljesus