Skip to content

๐Ÿ‘ฉโ€๐Ÿ’ป Server with Django Rest API / MySQL - 2021 Capstone Design

Notifications You must be signed in to change notification settings

dayowoo/PinkSeat-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Django Rest Framework๋ฅผ ์ด์šฉํ•ด ๋งŒ๋“  PinkSeat ์„œ๋ฒ„

๐Ÿ‘ฉโ€๐Ÿ’ป Server with Django Rest API / MySQL - 2021 Capstone Design


Department of Information and Communication Engineering at SMU


#### โœจ ๋งก์€ ํŒŒํŠธ
- Django Rest Framework / MySQL ๊ฐœ๋ฐœ
- retrofit ์„ ์‚ฌ์šฉํ•œ Android - Django ํ†ต์‹  ๊ตฌํ˜„
- Raspberry Pi - ์„œ๋ฒ„ ํ†ต์‹  ๊ตฌํ˜„ (server-final.py ํŒŒ์ผ ์ฐธ์กฐ)


Introduction


๐Ÿ’Œ Summary

  • ๐ŸŽฌ DEMO VIDEO : https://www.youtube.com/watch?v=5QyCfUJtvto&t=1s


  • Project ์†Œ๊ฐœ

    Program

    ์ง€ํ•˜์ฒ  ๋‚ด ์ž„์‚ฐ๋ถ€ ์ขŒ์„์ด ๋„์ž…๋œ ์ง€ 8๋…„์งธ์ด์ง€๋งŒ, ์„œ์šธ ์ง€ํ•˜์ฒ  ์ž„์‚ฐ๋ถ€ ๋ฐฐ๋ ค์„ ๊ด€๋ จ ๋ฏผ์›์€ ํ•˜๋ฃจ ํ‰๊ท  75.9๊ฑด์ด ์ ‘์ˆ˜๋  ์ •๋„๋กœ ๊ฐˆ๋“ฑ์ด ์ง€์†๋˜๊ณ  ์žˆ๋‹ค. ํ˜„ ์ง€ํ•˜์ฒ  ์ž„์‚ฐ๋ถ€ ์ขŒ์„ ์‹œ์Šคํ…œ์€ ๋น„์›Œ๋‘๋Š” ๊ฒƒ์ด ์›์น™์ด์ง€๋งŒ ์•„์ง๊นŒ์ง€ ๋น„์›Œ๋‘๊ธฐ ๊ทœ์น™์ด ์ž˜ ์ง€์ผœ์ง€์ง€ ์•Š๊ณ  ์žˆ์–ด ์–‘๋ณด๋ฅผ ์š”์ฒญํ•˜๊ธฐ ๋ˆˆ์น˜ ๋ณด์ธ๋‹ค๋Š” ๋ถˆํŽธํ•จ์ด ์ œ๊ธฐ๋˜์—ˆ๋‹ค. ๋”๋ถˆ์–ด ์ดˆ๊ธฐ ์ž„์‚ฐ๋ถ€์˜ ๊ฒฝ์šฐ, ๊ฒ‰๋ชจ์Šต์œผ๋กœ ์ž„์‚ฐ๋ถ€ ์—ฌ๋ถ€๋ฅผ ํŒ๋‹จํ•˜๊ธฐ ๋งค์šฐ ์ฃผ๊ด€์ ์ด๊ธฐ ๋•Œ๋ฌธ์— ์–‘๋ณด ๋ฐ›๊ธฐ ์–ด๋ ค์›€ ๋“ฑ์˜ ๋ฌธ์ œ์ ์ด ์žˆ๋‹ค. PinkSeat๋Š” ๊ธฐ์กด ์ž„์‚ฐ๋ถ€ ์ขŒ์„์˜ ๋ฌธ์ œ์ ๋“ค์„ ๊ฐœ์„ ํ•˜์—ฌ ์ž„์‚ฐ๋ถ€ ์ขŒ์„์„ ํšจ์œจ์ ์œผ๋กœ ์ด์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” ์ž„์‚ฐ๋ถ€ ์ขŒ์„ ๊ด€๋ฆฌ IoT์ด๋‹ค.


  • ์ฃผ์š” ๊ธฐ๋Šฅ

    • ํšŒ์›๊ฐ€์ž… / ๋กœ๊ทธ์ธ / ๋กœ๊ทธ์•„์›ƒ ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

    • ์ง€ํ•˜์ฒ  ์ขŒ์„ ํ˜„ํ™ฉ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค

      • ๋นˆ ์ขŒ์„ : ํ•˜์–€์ƒ‰
      • ์ž„์‚ฐ๋ถ€ ์ฐฉ์„ ์ขŒ์„ : ์ดˆ๋ก์ƒ‰
      • ์ผ๋ฐ˜์ธ ์ฐฉ์„ ์ขŒ์„ : ๋นจ๊ฐ„์ƒ‰
    • QR์ฝ”๋“œ ์ธ์ฆ์„ ํ†ตํ•ด ์ž„์‚ฐ๋ถ€๋ฅผ ์ธ์ฆํ•ฉ๋‹ˆ๋‹ค.

    • ์ผ๋ฐ˜์ธ ์ฐฉ์„ ์ขŒ์„์— ์–‘๋ณด์š”์ฒญ์„ ์šธ๋ฆฝ๋‹ˆ๋‹ค.

    • ๋งˆ์Šคํฌ ์ฐฉ์šฉ ์—ฌ๋ถ€๋ฅผ ๊ตฌ๋ถ„ํ•˜์—ฌ ๋ฏธ์ฐฉ์šฉ์‹œ, ์•Œ๋žŒ์„ ์šธ๋ฆฝ๋‹ˆ๋‹ค.


  • BACKEND : Django Rest Framework

  • DATABASE : MySQL

  • FRONTEND : Android Studio

  • HARDWARE : Raspberry Pi


๐Ÿ“š What I Earned


  • Django Rest Framework ์— ๋Œ€ํ•œ ์ดํ•ด
  • DRF - Android retrofit ํ†ต์‹ 
  • DRF - Raspberry Pi ํ†ต์‹ 

๐Ÿ“ข Report implemented assignment


  • ๊ตฌํ˜„ํ•œ ๊ธฐ๋Šฅ ๋ฐ ์ œ์•ฝ์‚ฌํ•ญ๋“ค์„ ์ผ€์ด์Šค๋ณ„๋กœ ์‹œ๋ฎฌ๋ ˆ์ด์…˜ํ•˜๋ฉฐ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.
  • ๋ชจ๋“  ์ผ€์ด์Šค๋“ค์€ ์ˆœ์ฐจ์ ์œผ๋กœ ์ง„ํ–‰๋˜๋ฉฐ, ํ•ด๋‹น DB๋Š” MySQL์— ์ €์žฅ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ๋ฐ ๊ธฐ๋Šฅ ์„ค๋ช… ์ˆœ์„œ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค
    1. Django ์„œ๋ฒ„ - MySQL ์—ฐ๋™
    2. Django - Android ๊ฐ„ ํšŒ์› ๊ด€๋ฆฌ ๊ธฐ๋Šฅ
    3. Android - Server - ๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด ๊ฐ„ ์–‘๋ณด์š”์ฒญ ๊ธฐ๋Šฅ ๊ตฌํ˜„
    4. Android - Server ์ž„์‚ฐ๋ถ€ QR์ฝ”๋“œ ์ธ์ฆ ๊ตฌํ˜„
    5. ๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด ๋งˆ์Šคํฌ ์ธ์‹

About

๐Ÿ‘ฉโ€๐Ÿ’ป Server with Django Rest API / MySQL - 2021 Capstone Design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published