Adding the medusa admin dashboard

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
Search for a command to run...

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.
No comments yet. Be the first to comment.
Most of you know me for my consistency, a golden arrow in my blog series. I've written 1000 articles in 1008 days! Almost an article a day, and my honeymoon was the only holiday I ever took. I'm super proud of this achievement; it has been a fantasti...

It's not the first time I'll be talking about community. I think it's an essential aspect of any successful tool. This shows in my previous explorations of Astro, Medusa, and now Vendure as well. All these products thrive in a super open, welcoming, ...

The cool part about Vendure is how easy it is to set up and how abstract each layer is. Basically, we get the following elements: External database Server Worker Admin UI Frontend While this is amazing, it also brings a bit of complexity when it co...

The previous article looked at customizing Vendure on a data and process level. In this article, we'll look at customizing emails, as they are often a big part of a webshop system. We'll be looking at two different layers of customization for customi...

Even though Vendure is a pretty significant project out of the box, in some cases, we might want to go in and modify some elements to work to our specific use case. In this article, I'll take a high-level look at some elements we can customize within...

Now that we have the medusa server up and running let's go on and add the first visual system.
We'll connect the medusa admin dashboard to our server for this article. The admin dashboard can perform all kinds of actions on your system data. It provides a way to see/create/edit and delete your products, view orders, and so on.
To get started, we can use the basic admin template provided by medusa.
git clone https://github.com/medusajs/admin medusa-admin
This will clone the admin panel into the medusa-admin directory.
Now navigate into the folder in your terminal and install all dependencies.
cd medusa-admin && npm install
Once installed, make sure to run our medusa server first.
// Navigate to medusa server
cd medusa-server
// Start server
medusa develop
Then you can run your dashboard project.
npm run start
You should be able to visit localhost:7000 now and be able to see the login panel.

If you used the seed option on installation, you could log in with the base user: [email protected] and password: supersecret.
And you'll now be able to explore the admin panel.

And that's it. Super easy to add a separate dashboard to our already existing medusa server.
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter