|
пре 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>
}