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
205 stars 1.13k forks source link

feat-#178: added admin UI to frontend #369

Closed devsharmagit closed 3 months ago

devsharmagit commented 4 months ago

Summary

Added admin UI to frontend

Description

This PR adds all the admin functionality and UI to the frontend. Checkout by logging in as admin. /admin/user and /admin/blog route is implemented correctly. A button in the header layout is also added to navigate to the admin dash board.

https://github.com/krishnaacharyaa/wanderlust/assets/109821078/7c5542ff-5108-4c60-8647-8710dea4635e

Issue(s) Addressed

Closes #178

Prerequisites

vercel[bot] commented 4 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 17, 2024 6:31am
wanderlust-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2024 6:31am
github-actions[bot] commented 4 months ago

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

krishnaacharyaa commented 4 months ago

@devsharmagit can you kindly rebase to upstream's main

krishnaacharyaa commented 4 months ago

@devsharmagit can you kindly rebase to upstream's main

krishnaacharyaa commented 3 months ago

@devsharmagit kindly finish this

devsharmagit commented 3 months ago

@krishnaacharyaa I am back to normal. I will commit the changes today night.

github-actions[bot] commented 3 months ago

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

devsharmagit commented 3 months ago

@krishnaacharyaa I have never used Redis. I will first go through some resources on YouTube to understand. I will commit the required changes tomorrow (Saturday).

I will raise an issue related to editing the place and eventually work on it and complete it. I will also raise the issue of refactoring the code as mentioned in 1.

krishnaacharyaa commented 3 months ago

I have never used Redis. I will first go through some resources on YouTube to understand.

Just use the existing util function @devsharmagit to clean up the redis

devsharmagit commented 3 months ago

@krishnaacharyaa i will use it and push the changes in few hours.

apart from that everything is fine from your side?

devsharmagit commented 3 months ago

image is this the function that i need to call?

and what is the argument that i need to pass?

@krishnaacharyaa

krishnaacharyaa commented 3 months ago

image is this the function that i need to call?

and what is the argument that i need to pass?

@krishnaacharyaa

Yes. Figure out from other places it is being used @devsharmagit

devsharmagit commented 3 months ago

okay @krishnaacharyaa !

devsharmagit commented 3 months ago

@krishnaacharyaa I have pushed the code.

krishnaacharyaa commented 3 months ago

@devsharmagit kindly raise 1 and 3 and comment here, so that i close this

devsharmagit commented 3 months ago

@krishnaacharyaa

global user type in frontend folder - #418 https://github.com/krishnaacharyaa/wanderlust/issues/418 editing the posts - #419 https://github.com/krishnaacharyaa/wanderlust/issues/419

devsharmagit commented 3 months ago

@krishnaacharyaa actually @devsharmag99 is my company's github account. I forgot to switch before contributing

krishnaacharyaa commented 3 months ago

Oooh okay cool hai no problem @devsharmagit