-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Summary
We need to have and table for the pins with the following columns:
id
title
->string
image
-> image urltags
->array
osstring
like["cats", "cute"]
userId
createdAt
-> now()
Endpoints
- GET -> params
{ pinId? }
- returns an array of pins or only one if
pinId
is provided
- returns an array of pins or only one if
- POST -> params { all columns necessary mentioned above }
- DELETE -> params
{ pinId }
AC
- create table for pin's in database
- relation with user table
- endpoint for GET/POST pin