Giter VIP home page Giter VIP logo

build-restful-web-service-with-spring-boot's Introduction

#Building a RESTful Web Service with Spring Boot to access data in an Aerospike cluster

Spring Boot is a powerful jump start into Spring. It allows you to build powerful applications with production grade services with little effort on your part.

Aerospike is a high available, low latency NoSQL data base that scales linearly. It is an in-memory database optimized to use both DRAM and native Flash. Aerospike boasts latencies of 1 to 3 ms consistently across throughput loads on a correctly sized cluster. Aerospike also has high reliability and is ACID compliant. Their oldest customer has many terabytes of data and has never been offline, even during Hurricane Sandy in New York City.

##What you will build This guide will take you through creating a simple RESTful web service with Spring Boot. You will build a service that accepts an HTTP GET request:

http://localhost:8080/as/test/flights/getAll/1234

It responds with the following JSON:

{
   "expiration":121023390,
   "bins":{
      "DISTANCE":2446,
      "DEST_CITY_NAME":"New York",
      "DEST":"JFK",
      "YEAR":2012,
      "ORI_AIRPORT_ID":"14679",
      "DEP_TIME":"802",
      "DAY_OF_MONTH":12,
      "DEST_STATE_ABR":"NY",
      "ORIGIN":"SAN",
      "FL_NUM":160,
      "CARRIER":"AA",
      "ORI_STATE_ABR":"CA",
      "FL_DATE":"2012/01/12",
      "AIR_TIME":291,
      "ORI_CITY_NAME":"San Diego",
      "ELAPSED_TIME":321,
      "ARR_TIME":"1623",
      "AIRLINE_ID":19805
   },
   "generation":1
}

build-restful-web-service-with-spring-boot's People

Contributors

cstivers78 avatar helipilot50 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.