Skip to content

vfcarmo/bloomberg

Repository files navigation

Bloomberg Math Expression API

Build Status

Math Expression API is a set of micro-services API responsible to perform math operations.

New Features!

  • Service Registration and Discovery
  • RESTful APIs
  • i18n added! You can use the header Accept-Language with either en or pt to see the error messages in these languages.

Tech

Math Expression API was developed using the technologies bellow:

Installation

Math Expression API need to be cloned on GitHub.

$ git clone https://github.com/vfcarmo/bloomberg.git
$ cd bloomberg

Running the application

Test the end-to-end result by starting the eureka-server first, next starting the calculator-api and then, once those have loaded, starting the math-expression.

To make this task easy, you should execute the 'build-docker.sh'.

First you should make this file executable:

$ chmod +x build-docker.sh

Then you can run this file with sudo (its necessary because the docker-compose command require it):

$ sudo ./build-docker.sh

You should wait for all services be available, after that you can make the requests for test.

In this project, the math-expression gets the result of math operation from calculator-api. We use eureka-server, which implement service registration and discovery, to be possible one service call the other one.

alt text

You can test the Math Expression API using Postman and importing the collection (MathExpression.postman_collection.json) located in the bloomberg directory.

Todos

  • Delivery in a Docker Orchestration environment

License

MIT

Free Software, Hell Yeah!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages