Skip to content

innerbyte/skybet-tech-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyBet Tech Test


Update 01/08/2017

I have added a few unit tests across all modules, which can be run with npm run test in the individual folders. Please note the tests require the npm modules to be installed in each of the modules. Furthermore, the web tests requires the containers loaded and running (in order to retrieve the entries from the API)


This project is split into 3 modules: connector, parser & web.

  • The connector module retrieves the packets from the mock data feed service and produces data to be consumed via RabbitMQ (provided in a docker container).
  • The parser module consumes the data, parses it and saves it into MongoDB.
  • The web module is written using TypeScript and Angular 4 and provides a web interface for visualising the data stored in MongoDB

Getting Started

  • Install Docker and Docker Compose
  • Start the Docker containers by typing docker-compose up in the root directory (where docker-compose.yml resides). This will build and start the RabbitMQ, mongo, data feed, connector, parser & web containers.
  • Once all the containers have started running, please open a browser and navigate to http://localhost:8585 in order to test the data feed via the web interface. Please note that it might take a few moments for the feeds to show up in the UI, as they will usually be created with displayed: false and updated to displayed: true through update operations
  • In order to close and destroy the environment, please press CTRL + C followed by docker-compose down.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published