node index.js
Port: 5100
DataBase: Mysql
Authentication: https://github.com/kyhsa93/authentication-api
application: https://github.com/kyhsa93/memo-app
x-access-token: JWT
/memo
/category
End Point | Method | Request | Response |
---|---|---|---|
/memo | POST | title, memo, categoryNumber |
success: Boolean, message: String |
/memo | GET | Array<Object> | |
/category | POST | category | success: Boolean, message: String |
/category | GET | Array<Object> |
memo.memo
Name | Type | length | Null | default |
---|---|---|---|---|
memoNumber | int | 10 | not | Auto_increment |
title | varchar | 100 | not | no |
memo | text | - | not | no |
signUpNumber | int | 10 | not | no |
categoryNumber | int | 10 | not | no |
timeStamp | timestamp | - | not | Current timestamp on update timestamp |
memo.category
Name | Type | length | Null | default |
---|---|---|---|---|
categoryNumber | int | 10 | not | Auto_increment |
category | varchar | 50 | not | no |