/LottoGame_inyro

๐Ÿ‘ฉโ€๐Ÿ’ป2021 1ํ•™๊ธฐ ์ด๋‹ˆ๋กœ ์›น ํ”„๋กœ์ ํŠธ

Primary LanguagePython

LottoGame

๐Ÿ‘ฉโ€๐Ÿ’ป2021 1ํ•™๊ธฐ ์ด๋‹ˆ๋กœ ์›น ํ”„๋กœ์ ํŠธ

๊ฐœ๋ฐœํ™˜๊ฒฝ

  • Spring 4.3.3
  • Tomcat 8.5
  • MySQL 8.0.22
  • django 3.2.3

DB

  • id : lotto
  • password : game
  • DB๋ช… : lottoDB
  • ํ…Œ์ด๋ธ”๋ช… : lotto, ranking

db tabel

  • 21.05.17: ํฌ๋กค๋ง ์ˆ˜์ •
    • winnums -> lottoNo/bnusNo ๋กœ ๊ตฌ๋ถ„
    • ๋ฆฌ์ŠคํŠธ๋กœ ๋ฒˆํ˜ธ ๋ฐ›์•„์˜ค์ง€ ์•Š๊ณ  ๊ฐ๊ฐ ๋ฐ›์•„์˜ด(lottoNo -> num1, num2, ... ,num6, bonus)
  • db์ˆ˜์ •
    • ์ด๋ฆ„ ์ง๊ด€์ ์œผ๋กœ firstWinamnt -> price1, ..., price5

rank

  • ranking table
  • ์ด ํ…Œ์ด๋ธ”์„ rest framework๋กœ /api/rank/ ์— ๋ณด๋ƒ„
  • ์ด์Šˆ : ๋‹‰๋„ค์ž„์„ ์–ด๋–ป๊ฒŒ ๋ฐ›์„์ง€

์ฐธ๊ณ  ๋ธ”๋กœ๊ทธ

์—๋Ÿฌ