|
|
8 年 前 | |
|---|---|---|
| config | 8 年 前 | |
| lib | 8 年 前 | |
| migrations | 8 年 前 | |
| models | 8 年 前 | |
| routes | 8 年 前 | |
| test | 8 年 前 | |
| .gitignore | 8 年 前 | |
| LICENSE | 8 年 前 | |
| README.md | 8 年 前 | |
| package.json | 8 年 前 | |
| server.js | 8 年 前 |
This is the backend (or 'api component') of the forum software to go along with the corresponding frontend project.
All API routes are prefixed /api/v1/
POST
{
id: <integer>,
token: <string>
}
GET
{
id: <integer>,
message: <string>,
canCreateThreads: <boolean>,
canCreatePosts: <boolean>,
ipBanned: <boolean>,
User: {
id: <integer>,
username: <string>,
description: <null | string>,
color: <string>,
createdAt: <string>
}