Oliver Sahner

Results 18 comments of Oliver Sahner
trafficstars

I would rather prefer Typescript.

No, not at all @okonon. If the lib has some sort of es5 or es6 export you are set (like lodash etc.). Or you can import anything from the lib...

I really like what you are doing @ngmikeng !

A good idea would be to set a reasonable time to live for the token. ```js jwt.sign({some: data}, config.mySecret, { expiresIn: '1d' }); ``` [jwt.sign options](https://github.com/auth0/node-jsonwebtoken#jwtsignpayload-secretorprivatekey-options-callback)

@nareshtank001 JWT is lightweight by design. You have to handle token expiration by your own.

There is a nice writeup by auth0 about signing and revoking. https://auth0.com/blog/blacklist-json-web-token-api-keys/

I can confirm @fcpauldiaz solution!

[node 4.8](https://github.com/KunalKapadia/express-mongoose-es6-rest-api/blob/develop/package.json#L9) is still supported with this project.

look [here](https://github.com/bleenco/ngx-uploader/pull/428#issuecomment-546384151) // the problem is that you cant upload the same file twice