hatchways / team-marinara

Hatchways Co-op Project. Full featured, Email CRM platform. Node, Mongo, React, Material UI, PassportJS, Socket.io, GMail API, Redis, Bull
https://mailsender.dev
4 stars 2 forks source link

BE: Protect Prospect API calls via JWT #21

Open airensurzyn opened 4 years ago

airensurzyn commented 4 years ago

Protect routes via JWT token (middleware or decorator):

umbauk commented 4 years ago

@airensurzyn check out the get id route in users.js for an example of how to do this