An open API service indexing awesome lists of open source software.

https://github.com/kyhsa93/memo-api

node.js
https://github.com/kyhsa93/memo-api

Last synced: 3 months ago
JSON representation

node.js

Awesome Lists containing this project

README

          

Memo api
===
Start
---
node index.js
Configuration
---
Port: 5100
DataBase: Mysql
Authentication: https://github.com/kyhsa93/authentication-api
application: https://github.com/kyhsa93/memo-app

Http POST Request Header
---
x-access-token: JWT

EndPoints
---
/memo
/category
| End Point | Method | Request | Response |
|-----------|:------:|:----------------------------------:|----------------------------------------------------|
| /memo | POST | title,
memo,
categoryNumber | success: Boolean,
message: String |
| /memo | GET | | Array\ |
| /category | POST | category | success: Boolean,
message: String |
| /category | GET | | Array\ |

DataBase
---
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 |