Coder Social home page Coder Social logo

mrakashkumar / microservicesspringboot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 67 KB

it is micro-services spring boot application. we are creating API Gateway layer, registry service layer and two other service layer. it is communicating each to other. Every service goes to API Gateway layer. We are using multi technologies in this project like cloud services and other

Java 100.00%
java8 springboot2 microservice eureka-server gateway-api actuator-spring-boot eureka-client jwt-token rest-api

microservicesspringboot's Introduction

MicroservicesSpringBoot

it is micro-services spring boot application. we are creating API Gateway layer, registry service layer and two other service layer. it is communicating each to other. Every service goes to API Gateway layer. We are using multi technologies in this project like cloud services and other

STEP 1 :: First run registery-service

STEP 2 :: After Run API-Gatway Service

STEP 3 :: After Run Employee-service

STEP 4 :: After Run Company Service

********--------------

if you want to run on your local machine then use this command

Step 1 :: git clone https://github.com/MrAkashKumar/MicroservicesSpringBoot.git

Step 2 :: Import IDE (suggested IDE like :: Intellij IDEA) but you can use any IDE

Step 3 :: mvn clean install

Step 4 :: Configure as per module and run

Step 5 :: Enjoy and learn

--------***---------------------

API Details of each services

...........................**............

STEP 1 :: Create company details

  URL : localhost:9191/com/api/company
  TYPE : POST
  Request Body:: 
      {
           "companyName":"Company XXXXX",
           "companyLocation":"PUNE",
           "companyCode":"ComapnyXXX"
      }

STEP 2 :: GET Company Details

URL:: localhost:9191/com/api/company/1
TYPE:: GET
Response 

STEP 3 :: Create Employee details

URL :: localhost:9191/emp/api/employee
TYPE :: POST
Request Body::
   {
        "employeeName":"Akash Kumar",
        "email":"[email protected]",
        "employeeCode":"Company356",
        "companyId":"1"
  }

STEP 4 :: GET Employee Details

URL :: localhost:9191/emp/api/employee/1
TYPE:: GET
Response

Enjoy End !!!!!!!!!!

Thanks

if anything confusion please let me know

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.