8000 GitHub - paulwoods/woods: leaning spring cloud microservices
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

paulwoods/woods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.md

Source Code

https://github.com/paulwoods/woods

Prerequisites

edit your host file, and add the following lines:

  • 127.0.0.1 gateway
  • 127.0.0.1 auth
  • 127.0.0.1 server
  • 127.0.0.1 web
  • 127.0.0.1 client

Gateway

Prerequisites

  1. install java21

Run the project

  1. cd gateway 2./gradlew bootRun

Verify that the gateway is running

In another terminal, enter:

  1. curl gateway:8080/actuator/health

Server

Prerequisites

  1. install java21

Run the Project

  1. cd server
  2. /gradlew/bootRun

Verify that the server is running

In another terminal, enter:

  1. curl server:8081/actuator/health

Client

Prerequisites

  1. install the latest node lts release

Run the Project

  1. cd client
  2. npm install
  3. npm run dev

Verify that the client is running

browse to http://client:5173

Once all 3 components are running you can browse to http://gateway:8080/. You should see the home page of the application. Click the greeting button and you should see the message returned by the server displayed underneath the greeting button.

insomnia

oisdc

use for testing:

http://auth:9000/.well-known/oauth-authorization-server

About

leaning spring cloud microservices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0