https://github.com/kyhsa93/memo-api
node.js
https://github.com/kyhsa93/memo-api
Last synced: 3 months ago
JSON representation
node.js
- Host: GitHub
- URL: https://github.com/kyhsa93/memo-api
- Owner: kyhsa93
- Created: 2018-01-29T11:16:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T11:13:31.000Z (over 7 years ago)
- Last Synced: 2025-03-03T14:11:23.597Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-appHttp POST Request Header
---
x-access-token: JWTEndPoints
---
/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 |