Giter VIP home page Giter VIP logo

baemin-clone-coding's Introduction

Hi ๐Ÿ˜Š

I'm a software developer. I'm from Korea, living in Seoul and currently working at Viva Republica.

โœ๏ธ Blog & Writing

Apart from coding, I also maintain a blog - you can find my articles on my website at happynut.me.

๐Ÿ“ˆ Github Stats

happy-nut's GitHub Stats

๐Ÿ“Š Github Top langs

baemin-clone-coding's People

Contributors

happy-nut avatar

Watchers

 avatar

baemin-clone-coding's Issues

Nest js๋กœ restaurant-api-server ๋งŒ๋“ค๊ธฐ

๊ฐ€๊ฒŒ ์‚ฌ์žฅ๋‹˜๋“ค ๊ด€๋ฆฌ ์•ฑ์€ ์•ˆ๋งŒ๋“ค๊ณ  db์— ๊ทธ๋ƒฅ ๋ฐ์ดํ„ฐ ๋„ฃ๋Š”๋‹ค๊ณ  ํ–ˆ์„ ๋•Œ,
๊ฐ€๊ฒŒ api server ๊ฐ€ ํ•„์š”ํ•จ.

API

  • get-restaurant
    • request: { restaurantCategory: string } - ๋ฉ”์ธ ํ™”๋ฉด ๋ฉ”๋‰ด ๋ณด์—ฌ์ฃผ๊ธฐ ์šฉ
    • request: { restaurantName: string } - ๊ฑฐ๋ฆฌ ๊ธฐ๋ฐ˜ ๊ฒ€์ƒ‰
    • request: { menuName: string } - ๊ฑฐ๋ฆฌ ๊ธฐ๋ฐ˜ ๊ฒ€์ƒ‰

Domain Model

Address

๊ฐ€๊ฒŒ ์‚ฌ์žฅ๋‹˜ / ์‚ฌ์šฉ์ž๊ฐ€ ์œ„๋„ ๊ฒฝ๋„๋กœ ์ž๊ธฐ ์œ„์น˜ ์„ธํŒ…ํ•œ๋‹ค ์น˜๊ณ , ์‹œ๋„๊ตฐ๊ตฌ๊ฐ™์€ displayName์€ ์ผ๋‹จ ์—†๋‹ค๊ณ  ๊ฐ€์ •.

Address {

  • latitude: number
  • logitude: number

}

Restaurant

RestaurantName: string - ๋นˆ ์ด๋ฆ„ ๋ถˆ๊ฐ€๋Šฅ

Restaurant {

  • id: string
  • category: Enum
  • name: RestaurantName
  • minimumOrderPrice (์ง€๊ธˆ์€ ์ผ๋‹จ ๋นผ๋„ ๋ ๋“ฏ)
  • menus: Menu[]
  • menuDescription: string?
  • address: Address

}

Menu

๋ฉ”๋‰ด ์•ˆ์˜ ์†Œ์Šค ์ถ”๊ฐ€ ์„ ํƒ ๋“ฑ๋“ฑ ํ† ํ•‘๋“ค์€ ์ถ”๊ฐ€ ๋ถˆ๊ฐ€๋Šฅํ•˜๋‹ค๊ณ  ๊ฐ€์ •.

MenuName: string - ๋นˆ ์ด๋ฆ„ ๋ถˆ๊ฐ€๋Šฅ

Menu {

  • name: MenuName
  • ingredientsOverview: string?
  • description: string?
  • price: number
  • pictureUrl: string?
  • isRepresentativeMenu: boolean // ๋Œ€ํ‘œ ๋ฉ”๋‰ด
  • isSoldOut: boolean
  • isForAdults: boolean // ์ฃผ๋ฅ˜

}

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.