Public | Automated Build

Last pushed: 2 years ago
Short Description
Events API
Full Description

Events API






  • The public Events API
  • A minimal docker alpine container
  • Automatically pushes it to dockerhub if tests pass

Running server

To start the serve execute:

npm start

API

curl -X GET 'http://localhost:3000/v1/events/?name=order_received&status=error&page=2&page_size=25'

Docker

This repository has automated image builds on hub.docker.com after successfully building and testing. See the deployment section of circle.yml for details on how this is done. Note that three environment variables need to be set on CircleCI for the deployment to work:

  • DOCKER_EMAIL - The email address associated with the user with push access to the Docker Hub repository
  • DOCKER_USER - Docker Hub username
  • DOCKER_PASS - Docker Hub password (these are all stored encrypted on CircleCI, and you can create a deployment user with limited permission on Docker Hub if you like)

run:

$ docker-machine start default
$ eval $(docker-machine env default)
$ docker-compose up
$ curl `docker-machine ip default`:3000

Built with

  • nodejs Backend is a node.js.
  • micro API is exposed by micro. Async HTTP microservices

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

Docker Pull Command
Owner
rafaeljesus
Source Repository