Code Monkey home page Code Monkey logo

momukji-gateway's Introduction

๐Ÿดmomukji-gateway

๐Ÿ“Œ ๊ฐœ์š”

๋ชจ๋จน์ง€ ํ”„๋กœ์ ํŠธ๋Š” ๋ฐฐ๋‹ฌ ๊ธฐ๋ฐ˜์˜ ์Œ์‹ ์ฃผ๋ฌธ ์„œ๋น„์Šค ์ž…๋‹ˆ๋‹ค. Microservice Architecture์˜ ์ „๋ฐ˜์ ์ธ ์ดํ•ด ๋ฐ ํŒจํ„ด ๊ตฌํ˜„์„ ์œ„ํ•ด ์ œ์ž‘๋˜์—ˆ์œผ๋ฉฐ, ํ˜„์žฌ ํ•ด๋‹น momukji-gateway ๊นƒ ์ €์žฅ์†Œ์—๋Š” Gateway์™€ Eureka Server ๋งŒ์„ ๋‹ค๋ฃจ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ์˜ ์ฃผ์š” ๊ธฐ๋Šฅ์„ ๋‹ค๋ฃจ๊ณ  ์žˆ๋Š” Microservices๋Š” ๋‹ค๋ฅธ ๊นƒ ์ €์žฅ์†Œ์ธ momukji-service ์— ๊ตฌํ˜„๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ง„ํ–‰ ์ƒํ™ฉ์— ์žˆ์–ด ์„ธ๋ถ„ํ™”๋œ ๊ธฐ๋ก์„ ์œ„ํ•ด ์ €์žฅ์†Œ๋ฅผ ๋ถ„๋ฆฌํ•˜์˜€์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ ์ง„ํ–‰์— ๋”ฐ๋ผ ReadMe ์—…๋ฐ์ดํŠธ ์˜ˆ์ •์ž…๋‹ˆ๋‹ค.

๐Ÿ“Œ ๋ชฉํ‘œ ๋ฐ ์‚ฌ์šฉ ๊ธฐ์ˆ  ์Šคํƒ

  • ๋ฐฐ๋‹ฌ ์•ฑ ์„œ๋น„์Šค๋ฅผ ๊ตฌํ˜„ํ•ด ๋‚ด๋Š” ๊ฒƒ์ด ๋ชฉํ‘œ์ž…๋‹ˆ๋‹ค.
  • ์ด์œ ์™€ ๊ทผ๊ฑฐ๊ฐ€ ๋ช…ํ™•ํ•œ ๊ธฐ์ˆ ์˜ ์‚ฌ์šฉ์„ ์ง€ํ–ฅํ•ฉ๋‹ˆ๋‹ค.
  • ์ด ํ”„๋กœ์ ํŠธ๋ฅผ ํ†ตํ•ด ๊ธฐ์กด์˜ Monolithic Architecture์„ Microservice Architecture๋กœ ์ „ํ™˜ํ•จ์œผ๋กœ์จ ๋‘ ๊ตฌ์กฐ์— ๋Œ€ํ•œ ์ „๋ฐ˜์ ์ธ ์ดํ•ด๋„๋ฅผ ๋†’์ด๊ณ  ํŒจํ„ด ๊ตฌ์กฐ๋ฅผ ๊ตฌํ˜„ํ•˜๋Š”๋ฐ ๋ชฉํ‘œ๋ฅผ ๋‘๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๐Ÿ“Œ ์ค‘์ ์‚ฌํ•ญ

  • ๋ผ์šฐํŒ…์„ ํ†ตํ•œ Microservice์™€์˜ ์—ฐ๊ฒฐ
  • Eureka Server๋ฅผ ์ด์šฉํ•œ ๊ฐ Client ๋ณ„ ์š”์ฒญ์— ๋Œ€ํ•œ ์›ํ™œํ•œ ์‘๋‹ต
  • MongoDB๋ฅผ ์ด์šฉํ•œ ์บ์‹œ์„ฑ ๋ฐ์ดํ„ฐ, ์ง‘๊ณ„์„ฑ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ๊ตฌ์ฒด์ ์ธ ๊ธฐ๋ก

๐Ÿ“Œ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ๋„

image

๐Ÿ“Œ ์ด์Šˆ ํ•ด๊ฒฐ ๊ณผ์ •

momukji-gateway's People

Contributors

sue4869 avatar deepredk avatar f-lab-elkein avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

momukji-gateway's Issues

[gateway] /main์œผ๋กœ ๋ผ์šฐํŒ… ์‹œ prefilter JWT ํ† ํฐ ๊ฒ€์ฆ ๋ฐ ํ—ค๋” ํ† ํฐ ์‚ฝ์ž…

ํ—ค๋”์— JWT ํ† ํฐ์ด ์žˆ๋‹ค๋ฉด

  • auth ์„œ๋น„์Šค์˜ POST /validate๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฒ€์ฆ
    • ์œ ํšจํ•˜๋‹ค๋ฉด ๊ทธ๋Œ€๋กœ ๋ผ์šฐํŒ…
    • ์œ ํšจํ•˜์ง€ ์•Š๋‹ค๋ฉด 401 ์‘๋‹ต

ํ—ค๋”์— JWT ํ† ํฐ์ด ์—†๋‹ค๋ฉด

  • 401 ์‘๋‹ต

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.