Talker Manager

Search al talkers

GET - /talker

Ex: project-talker-manager.herokuapp.com/talker

Search talker by id

GET - /talker/:id

Ex: project-talker-manager.herokuapp.com/talker/5

Search talker by name

GET - /talker/search?q=searchTerm

Ex: project-talker-manager.herokuapp.com/talker/search?q=mar

Login

POST - /login

Ex: project-talker-manager.herokuapp.com/login

{ email: "email@email.com", password: "123456" }

Register talker

POST - /talker

Ex: project-talker-manager.herokuapp.com/talker

{ name: "Maria Silva", age: 26, talk: { watchedAt: "22/10/2019", rate: 5 } }

Update talker

PUT - /talker/:id

Ex: project-talker-manager.herokuapp.com/talker/5

{ name: "Maria Oliveira", age: 26, talk: { watchedAt: "22/10/2019", rate: 5 } }

Delete talker

DELETE - /talker/:id

Ex: project-talker-manager.herokuapp.com/talker/5