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