Code Monkey home page Code Monkey logo

case-study-target's Introduction

Welcome to myRetail Case Study!

This project exposes various APIs which can be used to interact with Product details database. The APIs are as below

Method API Result
GET /products Fetches all the products in db
GET /products/id Fetches single product with id number. The ID should be a number
POST /products Creates a new product in DB
PUT /products Updates product in DB, exception if product not found
DELETE /products/id Deletes product in DB with ID number
GET /init Deletes all previous data and initializes the app with predefined hard coded values

Case Study Requirements

  1. The Product and Product description source is different, but the API response should contain the combined data (Product Details + Description).
  2. CRUD Operations.
  3. The APIs should be secured (use user/password as admin/nimda in creating Basic Auth header in Postman)

Running the Application

Windows : Run following command from location where POM.xml is present mvnw.cmd spring-boot:run

Mac/Linux Run following command from location where POM.xml is present mvnw spring-boot:run

Mongo DB

The MongoDB used is cloud hosted MongoDB by Mlab. https://mlab.com

case-study-target's People

Contributors

kaushalsingh861 avatar

Watchers

James Cloos 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.