|
8 years ago | |
---|---|---|
config | 8 years ago | |
lib | 8 years ago | |
migrations | 8 years ago | |
models | 8 years ago | |
routes | 8 years ago | |
test | 8 years ago | |
.gitignore | 8 years ago | |
LICENSE | 8 years ago | |
README.md | 8 years ago | |
package.json | 8 years ago | |
server.js | 8 years ago |
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>
}