krishnaacharyaa / wanderlust

WanderLust is a MERN travel blog website 🚀 This project is aimed to help people to contribute in open source, upskill in react and master git.
https://wanderlust-beta.vercel.app/
MIT License
174 stars 826 forks source link

refactor-#418: Added role type in frontend and backend #422

Closed AMS003010 closed 1 week ago

AMS003010 commented 1 week ago

Summary

I have added the role type (as an enum) in both the backend and frontend and replaced the "USER" and "ADMIN" types with Role.User and Role.Admin

Description

Explain in detail what this PR is all about. This should include the problem you're solving, the approach taken, and any technical details that reviewers need to know.

Images

None

Issue(s) Addressed

Closes Issue #418

Prerequisites

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wanderlust ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 3:52am
wanderlust-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 3:52am
github-actions[bot] commented 1 week ago

Hey @AMS003010! Thanks for sticking to the guidelines! High five! 🙌🏻

krishnaacharyaa commented 1 week ago

Hi @AMS003010 can you kindly address the review comments and close this by today?

krishnaacharyaa commented 1 week ago

Yeah I actually didn't run the application 😅

@AMS003010 kindly run the application and push the required changes

krishnaacharyaa commented 1 week ago

@AMS003010 did you run the application?

krishnaacharyaa commented 1 week ago

@AMS003010

AMS003010 commented 1 week ago

@krishnaacharyaa Yeah I did It worked without any errors

AMS003010 commented 1 week ago

@krishnaacharyaa Thanks a lot for the help 😁