GithubHelp home page GithubHelp logo

jeffgbutler / candidate-test-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from allegient-labs/candidate-test-service

0.0 3.0 0.0 53 KB

Web Service for the JavaScript Candidate Test

License: Apache License 2.0

Java 100.00%

candidate-test-service's Introduction

Allegient JavaScript Candidate Test Quote Service

Build Status Coverage Status

What Is This?

This is a simple web service that will return random price data for a given list of symbols.

There is no checking to see if symbols are valid - any string is valid. The service will return randomized price data for each symbol and the price will vary each time the service is called.

This is a SpringBoot application. To run it:

  • Build using Maven with => mvn clean install
  • Start it with java -jar candidate-test-service-1.0.0-SNAPSHOT.jar
  • Test it in a browser with http://localhost:8080/randomQuote/quote?symbols=goog,aapl
  • API information is available at http://localhost:8080/randomQuote/swagger-ui.html

Any number of symbols can be entered on the URL.

IMPORTANT DISCLAIMER: the data returned from this service is completely random and does not represent actual stock quotes in any way.

Docker

Copied from this blog post

  • Install Docker Compose => https://docs.docker.com/compose/install/
  • mvn clean install -Pdocker to create docker images
  • docker images to confirm this app is available as an image in docker
  • docker-compose up to start the app
  • http://localhost:8080/randomQuote/quote?symbols=goog,aapl test in browser

candidate-test-service's People

Contributors

anshdivu avatar jeffgbutler avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.