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