Giter Site home page Giter Site logo

dolphin-server's Introduction

Dolphin Server

local test

npm run dev

response 명세

메인화면

  1. /
{
  "dayType": "평일",
  "schedules": [
    {
      "term": {
        "startedAt": "2022-6-15",
        "endedAt": "2022-6-22"
      },
      "mainPlan": true,
      "content": "제1학기 기말시험",
      "dDay": 4
    },
    {
      "term": {
        "startedAt": "2022-6-15",
        "endedAt": "2022-6-28"
      },
      "mainPlan": true,
      "content": "제1학기 성적처리 및 입력",
      "dDay": 4
    }
  ],
  "weather": {
    "status": "맑음",
    "temparature": "20°",
    "windSpeed": "2.06m/s",
    "humidity": "64%"
  },
  "notices": [
    {
      "title": "2022학년도 여름계절학기 수강료 추가 납부 안내",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10316052&mi=2033",
      "date": "2022-06-10"
    },
    {
      "title": "(원격)수업 개선 학생 모니터링단 결과(5월)",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315396&mi=2033",
      "date": "2022-05-27"
    },
    {
      "title": "2022학년도 제1학기 정기 강의평가 실시 안내",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315355&mi=2033",
      "date": "2022-05-27"
    },
    {
      "title": "2022학년도 제1학기 핵심역량 및 전공능력 성취도 평가 실시 안내",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315354&mi=2033",
      "date": "2022-05-27"
    },
    {
      "title": "2022학년도 여름계절학기 수업 운영 방식 안내",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315303&mi=2033",
      "date": "2022-05-25"
    },
    {
      "title": "2022학년도 여름계절학기 1차 폐강대상 교과목 및 수강정정 기간 안내",
      "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315074&mi=2033",
      "date": "2022-05-20"
    }
  ],
  "diets": {
    "student": [
      {
        "type": "백반",
        "menus": ["2022년 06월 11일"]
      },
      {
        "type": "국밥",
        "menus": []
      }
    ],
    "snack": [
      {
        "type": "양식코너",
        "menus": ["2022년 06월 11일"]
      },
      {
        "type": "조식",
        "menus": []
      },
      {
        "type": "라면코너",
        "menus": []
      },
      {
        "type": "분식코너",
        "menus": []
      },
      {
        "type": "덮밥코너",
        "menus": []
      }
    ],
    "staff": [
      {
        "type": "중식",
        "menus": ["2022년 06월 11일"]
      },
      {
        "type": "일품식",
        "menus": []
      }
    ]
  }
}
dayType
평일
방학
시험기간
공휴일
주말

학사일정

  1. /calendar

학사일정을 모두 가져온다.

[
  {
    "term": {
      "startedAt": "2022-2-28",
      "endedAt": "2022-2-28"
    },
    "mainPlan": true,
    "content": "2022학년도 입학식"
  },
  {
    "term": {
      "startedAt": "2022-2-28",
      "endedAt": "2022-2-28"
    },
    "mainPlan": false,
    "content": "신입생 오리엔테이션(해양과학기술융합대학, 해양인문사회과학대학)"
  }
]
  1. /calendar/latest
[
  {
    "term": {
      "startedAt": "2022-6-8",
      "endedAt": "2022-6-15"
    },
    "mainPlan": false,
    "content": "제1학기 휴업일 보강",
    "dDay": 11
  },
  {
    "term": {
      "startedAt": "2022-6-15",
      "endedAt": "2022-6-22"
    },
    "mainPlan": true,
    "content": "제1학기 기말시험",
    "dDay": 18
  }
]

공지사항

  1. /notices
[
  {
    "title": "2022학년도 제1학기 정기 강의평가 실시 안내",
    "link": "https://www.kmou.ac.kr/kmou/na/ntt/selectNttInfo.do?nttSn=10315355&mi=2033",
    "date": "2022-05-27"
  }
]

식단

  1. /diet/v2/society/today 학생식당
{
  "student": [
    {
      "type": "백반",
      "menus": ["2022년 05월 28일"]
    },
    {
      "type": "국밥",
      "menus": []
    }
  ],
  "snack": [
    {
      "type": "양식코너",
      "menus": ["2022년 05월 28일"]
    },
    {
      "type": "조식",
      "menus": []
    },
    {
      "type": "라면코너",
      "menus": []
    },
    {
      "type": "분식코너",
      "menus": []
    },
    {
      "type": "덮밥코너",
      "menus": []
    }
  ],
  "staff": [
    {
      "type": "중식",
      "menus": ["2022년 05월 28일"]
    },
    {
      "type": "일품식",
      "menus": []
    }
  ]
}
  1. /dorm/today 기숙사
{
  "morning": ["밥/잡곡밥", "깍두기", "소고기두부국", "떡갈비", "계란말이", "무말랭이지", "우유"],
  "lunch": ["짜장밥", "장국", "양배추샐러드", "꿔바로우탕수육", "김치", "농후발효유"],
  "dinner": ["밥/잡곡밥", "깍두기", "콩나물국", "훈제오리불고기", "부추생채", "메밀묵무침"]
}
  1. /diet?at={type}&where={location} 모든 식단
[
  {
    "title": "기숙사 점심",
    "subtitle": "",
    "menus": ["카레라이스", "치킨텐더", "감자튀김", "단지우유", "김치"]
  },
  {
    "title": "3층 스낵코너",
    "subtitle": "양식코너",
    "menus": [
      "통등심돈까스",
      "치킨치즈돈까스",
      "파채돈까스",
      "통등심더블돈까스",
      "치킨치즈더블돈까스",
      "파채더블돈까스"
    ]
  },
  {
    "title": "3층 스낵코너",
    "subtitle": "조식",
    "menus": ["소고기야채죽"]
  },
  {
    "title": "3층 스낵코너",
    "subtitle": "라면코너",
    "menus": ["계란라면", "치즈라면", "계란라면+공기밥", "치즈라면+공기밥", "부대찌개라면+공기밥"]
  },
  {
    "title": "3층 스낵코너",
    "subtitle": "분식코너",
    "menus": ["잔치국수", "새우튀김우동"]
  },
  {
    "title": "3층 스낵코너",
    "subtitle": "덮밥코너",
    "menus": ["옛날도시락"]
  },
  {
    "title": "5층 교직원 식당",
    "subtitle": "조식",
    "menus": []
  },
  {
    "title": "5층 교직원 식당",
    "subtitle": "중식",
    "menus": [
      "잡곡밥",
      "된장찌개",
      "동태포전",
      "참나물무침",
      "무생채",
      "김구이",
      "배추김치",
      "토마토그린샐러드/키위드레싱"
    ]
  },
  {
    "title": "5층 교직원 식당",
    "subtitle": "일품식",
    "menus": ["돌솥비빔밥"]
  },
  {
    "title": "5층 교직원 식당",
    "subtitle": "오후스낵",
    "menus": []
  },
  {
    "title": "5층 교직원 식당",
    "subtitle": "석식",
    "menus": []
  }
]
  • 시간 필터
at decription
morning 조식 기숙사 조식, 학생식당
lunch 중식 기숙사 중식, 학생식당, 스낵코너, 직원식당, 직원식당 일품식
dinner 석식 기숙사 저녁
  • 장소 필터
where decription
dorm 기숙사

날씨

  1. /weather/now
{
  "status": "구름조금",
  "temparature": "19°",
  "windSpeed": "7.2m/s",
  "humidity": "63%"
}

버스

  1. /bus/time?busStopName={버스 정류장}&busNumber={버스번호}
{
  "busStopName": "busan_station",
  "lineno": 190,
  "min1": 16,
  "min2": 32
}
  • busStopName
name value description
BUSAN_STATION busan_station 부산역
YEONGDO_BRIDGE yeongdo_bridge 영도대교
KMOU_ENTRANCE kmou_entrance 한국 해양대 입구
  • busNumber
number
190
101
66
88
30
8
186
  1. /bus/info?busNumber={busNumber} 전체 정류장이랑 현재 버스 위치
{
  "busNumber": "190",
  "busStopInfo": [
    {
      "bstopnm": "해양대구본관",
      "rpoint": 0,
      "carno": "70자3724",
      "lowplate": 0
    }
  ]
}
  1. /bus/departbus
{
  "nextDepartBus": [
    {
      "bus": "19:19",
      "remainMinutes": 0
    },
    {
      "bus": "19:40",
      "remainMinutes": 21
    }
  ]
}
  1. /bus/nextshuttle
{
  "nextShuttle": [
    {
      "destination": "하리",
      "time": "18:10",
      "remainMinutes": 11
    },
    {
      "destination": "하리",
      "time": "18:30",
      "remainMinutes": 31
    },
    {
      "destination": "하리",
      "time": "18:50",
      "remainMinutes": 51
    },
    {
      "destination": "하리",
      "time": "19:00",
      "remainMinutes": 61
    },
    {
      "destination": "하리",
      "time": "19:20",
      "remainMinutes": 81
    },
    {
      "destination": "하리",
      "time": "19:40",
      "remainMinutes": 101
    },
    {
      "destination": "하리",
      "time": "20:00",
      "remainMinutes": 121
    },
    {
      "destination": "하리",
      "time": "20:20",
      "remainMinutes": 141
    },
    {
      "destination": "하리",
      "time": "20:40",
      "remainMinutes": 161
    },
    {
      "destination": "하리",
      "time": "21:20",
      "remainMinutes": 201
    },
    {
      "destination": "하리",
      "time": "21:40",
      "remainMinutes": 221
    },
    {
      "destination": "하리",
      "time": "22:00",
      "remainMinutes": 241
    },
    {
      "destination": "하리",
      "time": "22:20",
      "remainMinutes": 261
    },
    {
      "destination": "하리",
      "time": "22:40",
      "remainMinutes": 281
    }
  ]
}
  1. /bus/nearest-station?latitude=129.0756416&longitude=35.1795543
{
  "busStopName": "수정1동공영주차장",
  "lineno": 190,
  "min1": 6,
  "min2": 24
}

dolphin-server's People

Contributors

donald-deok avatar chaeyeonhan1225 avatar mukjo96 avatar jaewangl avatar code-wg avatar

Stargazers

Roman avatar

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.