Closed kennyjhcheng closed 1 year ago
Pretty big PR
routes
controllers
middleware
models
mocks
protect
@access Public/Private
npm i
.env
.envexample
JWT_SECRET
Pretty big PR
routes
,controllers
,middleware
,models
,mocks
protect
to route, exposes req.user.userID to any protected routes if authenticated@access Public/Private
to all controller and some routes methodsnpm i
in server and setup.env
file based on.envexample
JWT_SECRET
can be anything