I’m building a reservation web app using Express.js, GraphQl, and MongoDb for the backend, front end using React. the application will allow users to reserve events and owners create events (along with other operations of course), I’m trying to use Auth0 for authentication, I have never used a third party auth service before, so I wanted to get advice on how I can use it in my application, while also saving user data and do basic curd operations, how should the structure of the authentication be while saving and manipulating data? Most importantly how should the process of the authentication go when logging in or signing up and making curd operations while being authenticated.
Would appreciate the help!
The code I have so far is alot to show in here, I’m basically writing my own auth and middleware, using JWT token, but any examples provided would be great