Skip to content

[BE] /comments endpoint #169

@fabiorodriguesdev

Description

@fabiorodriguesdev

Summary

We need to create table in the database to store the comments section in each individual pin.

Table Structure

Endpoint

The endpoint should contain the following methods:

  • GET -> params { pinId }
  • POST -> params { userId, pinId, content }
  • DELETE -> params { id }

The endpoint can have a url like /api/comments

Important

Please communicate in the team about which strategy of id will be used, the project should use the SAME id structure everywhere.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions