Smart Meeting Assistant 어플리케이션의 Spring Boot 기반 Basic Back-End 서비스
- User Service
- Meeting Service
- Spring-Boot 1.5.6
- Maven 4.0.0
Spring Boot 기반의 프로젝트를 jar 파일로 패키징하여 PaaS상에 배포
해당 jar 파일이 있는 곳에서 java -jar 파일명.jar
url=jdbc:mysql://localhost:3306/base_info username=root password=1234
회원서비스
회원가입
로그인
회의서비스 회의생성
회의삭제
회의시작
회의종료
HTTP | URI |
---|---|
POST | /user/add/ |
Parameter | Parameter명 | Data Type |
---|---|---|
id | User ID | Long |
User E-mail | String | |
userName | User Name | String |
password | User Password | String |
Case | Return |
---|---|
성공 | {"result": "SUCCESS","MEETING_ID": "1"} |
실패 | {"result": "FAIL","reason": "EMAIL & Name Already Used"} |
HTTP | URI |
---|---|
POST | /user/login/ |
Parameter | Parameter명 | Data Type |
---|---|---|
User E-mail | String | |
password | User Password | String |
Case | Return |
---|---|
성공 | {"result": "SUCCESS", "USER_ID": "10", "USER_NAME": "패기", "USER_PART": "Communication"} |
HTTP | URI |
---|---|
POST | /meeting/add/ |
Parameter | Parameter명 | Data Type |
---|---|---|
title | Meeting Title | String |
comment | Meeting Object | String |
content | Meeting Content | String |
date | Meeting Date | date(YYYY-MM-DD) |
startTime | Start Time | Time(HH:MM) |
status | Meeting Status | Status(WAIT or COMPLETE) |
partName | Part Name | Partname(Communication, Distribution, Manufactoring or VDI) |
userList | User List | ArrayList |
checkList | Check List | ArrayList |
class CheckList{ String item boolean checked }
ex)
{"title":"weekly1", "comment":"weekly","content":"test123","date":"2017-08-31","startTime":"10:00","partName":"Communication","userList": [{"userName": "패기"}],"checkList": [{"item":"check","checked":"true"},{"item":"check2","checked":"false"}]}
Case | Return |
---|---|
성공 | {"result": "SUCCESS","MEETING_ID": "5"} |
HTTP | URI |
---|---|
POST | /meeting/ |
Case | Return |
---|---|
성공 | ArrayList |
ex) [ { "id": 1, "title": "weekly1", "comment": "weekly", "content": "test123", "date": "1970-01-01", "startTime": "10:00:00", "endTime": null, "userList": [ { "id": 1, "email": "heehouse1@gmail.com", "userName": "Saeyoung", "password": "test123", "role": "USER" }, { "id": 2, "email": "heehouse2@gmail.com", "userName": "Faeyoung", "password": "test123", "role": "USER" } ], "status": "WAIT", "partName": "Architecture" } }
HTTP | URI |
---|---|
POST | /meeting/end/ |
Case | Return |
---|---|
성공 | ArrayList |
HTTP | URI |
---|---|
POST | /user/wait/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | User id | Long |
Case | Return |
---|---|
성공 | ArrayList |
HTTP | URI |
---|---|
POST | /user/end/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | User id | Long |
Case | Return |
---|---|
성공 | ArrayList |
HTTP | URI |
---|---|
POST | /meeting/info/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | Meeting id | Long |
Case | Return |
---|---|
성공 | Meeting |
HTTP | URI |
---|---|
POST | /meeting/start/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | Meeting id | Long |
Case | Return |
---|---|
성공 | {"result": "START", "MEETING_STATUS":"START"} |
HTTP | URI |
---|---|
POST/meeting/end/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | Meeting id | Long |
Parameter | Parameter명 | Data Type |
---|---|---|
checkList | Check List | ArrayList |
ex) {"checkList": [{"id":"7","item":"check33","checked":"true"},{"id":"8","item":"check244","checked":"true"}]}
Case | Return |
---|---|
성공 | {"result": "FINISHED", "MEETING_STATUS":"COMPLETE"} |
HTTP | URI |
---|---|
POST | /meeting/delete/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | Meeting id | Long |
Case | Return |
---|---|
성공 | {"result": "DELETED", "MEETING_STATUS":"DELETE"} |
HTTP | URI |
---|---|
POST | /meeting/{id} |
Parameter | Parameter명 | Data Type |
---|---|---|
id | Part id(1: Architecture, 2: Engineering, 3: RnD, 4: QA) | Long |
Case | Return |
---|---|
성공 | ArrayList |