/instastock

Primary LanguageJava

#Background

Project for the MasterCard Masters of Code Hackathon in March 22nd 2015

#Instastore

Sell your stuff quickly

#Getting Started

Run:

mvn spring-boot:run to start the server

By default, you should see the page running on http://localhost:8080

#Mobile integration

##Post Product

Post product JSON:

{
  "id": "12345",
  "name": "Red Bull Diet",
  "description": "Red bull give you wings",
  "price": 1.99,
  "image": <base64 encoded image>
}

HTTP POST to //<hostname>:<port>/product

##View posted product

View it at the following URL: //<hostname>:<port>/product/<product id>