Closed BrandonErik-FS closed 1 year ago
I created a UserToken Mongoose model to store user JSON web tokens in the MongoDB database. I also added find, create and update functions within the spotifyController and validateToken files to save and update any token as needed in the database.