Skip to content

Create resources #175

@yellalena

Description

@yellalena
  • Add POST /resources endpoint.
  • Process tags similar to mentors -> tags should be stored in the tags table with relation to the resources record.
  • Verify:
  • Add a code check (or proper db constraint failure handling) and return proper error messages (utilize errors.js) for cases:
    • For post resource type description field is required
    • For video resource type link field is required
    • Every resource should have either a Description or an Attachment (filename, link), both cannot be empty.
  • No attachment processing in this ticket, will be done in
  • Update swagger
  • Add unit tests

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions