Hey 👋🏻 ! I'm Kevin, a full-stack developer running a digital prototyping company with my business partner called Spin Up . When I'm not consulting and building for clients, I'm writing content here, curating my newsletter or creating videos . Outside of work, I enjoy handing out with my wife and sons - camping, hiking and kayaking or just curling up with a good book.
Markdown supported · ⌘↵ to post
JWT's are definitely the way to go. I do recommend that developers work out how to implement them without a third-party service, though. Auth0 is great, but it's so expensive if you want to use it beyond a little hobby project. It's surprisingly easy to use the jsonwebtokens package to create your own implementations.
Kevin Cunningham
Olohundare kayode
To make sure your app doesnt get abused, You could also have a rate limiter that limit how many request a user can per hour. Here is a lib that solves that for you
npmjs.com/package/express-redis-limit-req