Code Monkey home page Code Monkey logo

om's Introduction

Shashank Chauhan

H2 database URL

  1. http://localhost:8080/h2-console/
  2. jdbc url - jdbc:h2:mem:order_management

Note: For creating resources, i have used getRequest instead of post (because without postman we can test using simple browser)(For subscriber and order creation)

Example Endpoints

  1. http://localhost:8080/api/v1/add-customer/username/shashank - Create user by giving name ("Shashank")
  2. http://localhost:8080/api/v1/customers/discountDetail - Get All Discount Information of Customers
  3. http://localhost:8080/api/v1/customers/id/1 - Find Customer By ID
  4. http://localhost:8080/api/v1/customers - Find All Customers
  5. http://localhost:8080/api/v1/create-order/cust-id/1/amount/100 - Create Order
  6. http://localhost:8080/api/v1/order/id/1 - Find Order By Id
  7. http://localhost:8080/api/v1/orders - Final All Orders

Technologies Used

  1. Spring Boot
  2. H2 Database
  3. Spring Data
  4. MVC Architecture

Important Points to Note

  1. Extract the file and import in the intellij idea
  2. No, need to import database, I have used in-memory database (H2 database)
  3. h2 console datasource: jdbc:h2:mem:order_management
  4. Default username and no password for h2 database
  5. Testcases are present under test folder (src/main/test)

Reference Documentation

For further reference, please consider the following sections:

om's People

Contributors

ssc-stack avatar

Watchers

 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.