Closed paul-caron closed 4 months ago
Add following routes (check guide on wiki):
[x] code/getCode - Get code from database.
Role: USER
Body
bigint
Response
string
[x] code/deleteCode - Delete code from database.
bool
[x] code/createCode - Create code into database.
[x] code/updateCode - Update code into database.
[x] code/getTemplate - Get a template of code to start a coding project.
[x] - Create router and assign all functions from controller.
[x] - Bonus quest: change Tag model to make the name unique and as identifier
TODO
Add following routes (check guide on wiki):
[x] code/getCode - Get code from database.
Role: USER
Body
bigint
Response
string
string
string
[x] code/deleteCode - Delete code from database.
Role: USER
Body
bigint
Response
bool
[x] code/createCode - Create code into database.
Role: USER
Body
string
string
string
Response
bool
[x] code/updateCode - Update code into database.
Role: USER
Body
string
string
bigint
Response
bool
[x] code/getTemplate - Get a template of code to start a coding project.
Role: USER
Body
string
Response
string
[x] - Create router and assign all functions from controller.
[x] - Bonus quest: change Tag model to make the name unique and as identifier