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
221 stars 1.25k forks source link

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

Closed AMS003010 closed 5 months ago

AMS003010 commented 5 months 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 5 months 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 5 months ago

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

krishnaacharyaa commented 5 months ago

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

krishnaacharyaa commented 5 months ago

Yeah I actually didn't run the application 😅

@AMS003010 kindly run the application and push the required changes

krishnaacharyaa commented 5 months ago

@AMS003010 did you run the application?

krishnaacharyaa commented 5 months ago

@AMS003010

AMS003010 commented 5 months ago

@krishnaacharyaa Yeah I did It worked without any errors

AMS003010 commented 5 months ago

@krishnaacharyaa Thanks a lot for the help 😁