TheAvi123 / TravelGram

A web application for travellers to plan and collaborate with others on trips.
0 stars 1 forks source link

Persistent sessions! + other things #23

Closed maiahta closed 3 years ago

maiahta commented 3 years ago

@ryan-tso to edit a user, I have added the front-end part of it (redux + axios + local storage). However, you'll have to add the backend call to MongoDB for it in the server folder. I've added a TODO item to the place where you might need to change in authSlice after the backend work is done (if you're having trouble with this lmk and I can help you out). Logout functionality is also there, all you need to do is call it from your logout component, no extra work to be done for it.