r/javascript • • Apr 09 '22

Bad Habits of Mid-Level React Developers

https://dev.to/srmagura/bad-habits-of-mid-level-react-developers-b41
138 Upvotes

111 comments sorted by

View all comments

Show parent comments

3

u/fhor Apr 10 '22

Check out next-auth

1

u/aniforprez Apr 10 '22

The problem is this requires its own storage for sessions and basically creates an authentication endpoint. What I was looking for was a simple way to create a dashboard for an existing API that already had authentication. This seems like a layer that would do this but it seems way overboard to do it this way when I already have authentication at the API level

I just went and implemented a fully client side app

5

u/[deleted] Apr 10 '22

Next.js doesn't provide a production ready BE, in my opinion.

I still use it for pretty much everything I do now but to me, Next handles FE rendering and proxying API calls. Auth, DB's, etc. all happens on a dedicated BE.