Similar to the sign up and login for the client, need a way to generate a simple JWT when the user has logged in.
This will probably require more work, but we can use some starter code like the one from @abe-m1's repo: https://github.com/abe-m1/6_basic_api
We would need to edit this and update it to use maybe something like Passport.js to create an auth controller, that could work with the User model in this repo. We can always refactor this later and build up on top of the models here.
Similar to the sign up and login for the client, need a way to generate a simple JWT when the user has logged in.
This will probably require more work, but we can use some starter code like the one from @abe-m1's repo: https://github.com/abe-m1/6_basic_api
We would need to edit this and update it to use maybe something like Passport.js to create an auth controller, that could work with the User model in this repo. We can always refactor this later and build up on top of the models here.