Thank you for this fantastic tutorial! I followed through carefully and now I have a running medusa storefront ... although the starter template design I got is much simpler than yours (i.e., no images or colors). Probably they changed the design a bit in the 3 months since you published this video. A follow-up video showing how to really set this up so it's ready for deployment and production would be fantastic!
Man this is insane bruv!! Medusa will lair them all sire! Thank you for the content, now off to scaffold this beaut. Saludo fraterno desde Ecuador a Sudáfrica compañero! Nuevo subscriptor! Más contenido sobre Medusa el mundo tiene que saber de esto!
It's incredible the potential it has! It would be nice if you could continue with videos of the project, and for example modify or add some functionality. Great video. Regards.
Nice step by step explanation. Awesome video for beginners for building ecommerce websites and backends using Medusa and Next.js starter template. Thank you so much !
Well, after quite some time, I was finally able to get it all up and running, backend, and storefront. What a feeling of utter triumph. I would kindly ask if you might be able to provide some guidance as to how to deploy? That would make the tutorial complete.
I used this deployment guide: ruclips.net/video/pP84utXQgxg/видео.htmlsi=v6uViazAawB7Ybj3 Was very easy to follow, but is limited only to one hosting provider. haven't had any issue so far.
Thank you ever so much! I wish I could smash the like button over and over! LOL Seriously though, one of the most beneficial dev guide's I've ever had the pleasure of using!
if you get stuck in "command not found: docker-compose" around 9:35 when enterin the command "docker-compose up --build -d" , the command replaced by "docker compose" without dash.
The Medusa JS docs leave out crucial steps about how to get everything up and running. I had a nightmare of a time trying to get it to work, and ultimately failed after several hours.
Well, I'm sure a lot of the people attracted to watch this video know fully what you're trying to explain. Admittedly, I'm a bit in over my head, but man, would I love to figure out a way to avoid having to pay Shopify a hefty fee every month for my ignorance. I also want to do something I'm not sure you can do on Shopify which is to build a two-sided market. I'll just end by saying that teaching people how to code is harder than coding itself. @@the_full_stack_junkie
@@Houseofstartup i think their docs is quite amazing. If you understand how complicated this product is then the docs is actually pretty good. A lot of reading in deed, but the docs has just been improving everytime.
Hey, nice tutorial. I have issues with seeding the data, it keeps spinning but no further installations are happening, ✔ Created project directory ✔ Installed Dependencies ✔ Project Built ✔ Ran Migrations ✔ Created admin user ⠴ Seeding database..
create-medusa-app is stuck at seeding database part for me too. The user authentication page where you can assign a password to the email the setup prompted for does not show, preventing login. Can someone help?
Hi @@the_full_stack_junkie How can we get the .env.template & the docker-compose.yml that has the stuff you have, also how does your docker work without throwing error because there is no .env file when you started?
I have followed each step carefully , but once the app is running , the message on the page is localhost refused to connect (ERR_CONNECTION_REFUSED), I've tried so many times but stuck on this , maybe someone could help?
Did you follow the same version installation as well? If you want to follow along with the video please ensure you are using the same version (can check in the github package.json) Else please refer to the current live docs Medusa is a growing software. So things do tend to change as it improves.
@@the_full_stack_junkie I've tried the both ways : 1.Follow up to the repo of yours and git pull from the master branch , install all the dependencies and connect to db. 2.As per guide in the video following the steps including the recommendations from the official medusa docs. Unfortunately none worked for me.
Everything worked for me. However, after a few days I wanted to access the admin dashboard again but the localhost won't load. "ERR_CONNECTION_REFUSED" Ho can I view the admin dashboard or the storefront?
hi, what is the path for expanding this to a marketplace? like buyers could purchase from multiple seller, seller dashboard, etc. does medusa capable of that?
Couldn't connect to PostgreSQL using the database URL you passed. Make sure it's correct and try again. I have verified that the container is up and running
nice video, but i cant progress cuz i cant install docker, i keep getting error "Docker Desktop - WSL update", is there any video that arent using docker?
Thanks so much for the tutorial. I was able to get a local version running rather quickly, but keep running into weird things with deployment. It seems to be an issue with the .env not being recognized, but non of the documentation seems to help. If you could do a quick video or guide on deployment it would be amazing!
.env file is rather an option, for convenient development. On the server you should set your envs either directly in the system or use some kind of secret manager, like GCP Secret Manager.
Couldn't connect to PostgreSQL using the database URL you passed. Make sure it's correct and try again. ... it's shown in the first command you wrote to build new medusa aoo
Are you running PostgreSQL locally or with the docker container? Please make sure that your Postgres is actually running then the link should work fine
Hey @the_full_stack_junkie, I'm running in a Docker container and I'm encountering an error: 'Couldn't connect to PostgreSQL using the database URL you passed.' Any advice? Btw, your video is awesome! Thanks a lot!
@ealaniss glad to hear you like video. So first i would make sure the container is up and running with no issues. And make sure the password, username, and db name you use in the connection string is a match to docker-compose ENV values. You could also use pgadmin or db connection tool to check if you can connect to db without any issues. Then the rest of the setup video should work fine✌
I hear the south african accent! 💫 😂 Please do a video to customize to add other tables or inherit and add fields, and make this into a Multivendor marketplace like takealot or Amazon!
thanks so much for the guide! i've watched probably 10 times now haha. the issue i'm having now, the storefront seemed to be setting my default region to EU, which i am not operating in (my products were showing euros in their prices). when i removed EU from regions in the admin panel, my storefront is now not showing any of my products. it seems to be acting like i am viewing from EU (and products are not available), when i am actually viewing from the US. i keep getting error at the line: if (regionId !== region.id) {setRegion(region.id, finalCountryCode)}. i can't figure out where in the src code it lists my available regions. thank you for all of your help thus far!
Seems OK on the surface, but like any "one size fits all" solution, it can't beat a custom e-commerce solution. People re-invent wheels because all the other wheels don't do what they need or come with a bunch of built-in features that you don't need. The API is also awkward - their API's (SDK and REST response objects) all use snake_case, which is not proper JS/TS convention that uses camelCase. It makes object destructuring awkward and doesn't jive with our linting rules. Another issue is Postres - we use MariaDB (MySQL) and to use Medusa, we would have to change our AWS RDS instance to PG or create a second instance just for PG, costing is twice as much.
There is the ability to add your own complete logic and still have access to all the underlying APIs you can create your own new tables and it has all the architectural part needed to get you off the ground running. And that is the point of something like medusa. It is a lot better than using Shopify if you need some customization etc. Re-inventing the wheel is never a good idea. Might feel better because you have the map you built and don’t have to learn a new map. For linting it is very easy to just setup for you custom part of the code anyways. And the API are pretty good and still improving. If you understand all the logic Medusa handles you will find the API not that bad.
is medusa able to scale with demand? I'm currently tinkering around with it locally but have come to the conclusion that it's a bit finicky to use in its current state. The omnichannel module seems pointless in its current state and without it, I don't really see how so many are comparing this to shopify.
Wel then I dont need to install postgres on my machine I can setup any database or other service like redis etc directly in the docker-compose file. And it is easy then to share with anyone or deploy anywhere using docker.
Hey there! Docker is a lifesaver for us devs. It's like a clean, organized box for our apps. When I use Docker for databases, it keeps my machine clutter-free, makes testing a breeze, and ensures everyone's on the same page with our setups. Makes development a whole lot smoother!
I am getting an error "Couldn't connect to PostgreSQL using the database URL you passed." after "pnpm dlx create-medusa-app@latest --seed --db-url postgres://admin:password@localhost:5432/my_db" command.. Docker is running a container. Maybe I need to do something before running the npm command on Windows?
Try this instead: npx create-medusa-app@latest --seed --db-url 'postgres://admin:p@ssw0rd!@localhost:5432/medusa_db' I explain further up in the comments why wrapping in Single Quotes is likely the issue - Good Luck!
Thank you for this fantastic tutorial! I followed through carefully and now I have a running medusa storefront ... although the starter template design I got is much simpler than yours (i.e., no images or colors). Probably they changed the design a bit in the 3 months since you published this video. A follow-up video showing how to really set this up so it's ready for deployment and production would be fantastic!
Great tutorial and free. I would totally pay for a longer course or tutorial
Yes, me too
Man this is insane bruv!! Medusa will lair them all sire! Thank you for the content, now off to scaffold this beaut.
Saludo fraterno desde Ecuador a Sudáfrica compañero! Nuevo subscriptor! Más contenido sobre Medusa el mundo tiene que saber de esto!
It's incredible the potential it has! It would be nice if you could continue with videos of the project, and for example modify or add some functionality. Great video. Regards.
Medusa is awesome. Not many people are talking about this!
Love to see more about medusa from you
Nice step by step explanation. Awesome video for beginners for building ecommerce websites and backends using Medusa and Next.js starter template. Thank you so much !
You're most welcome
Well, after quite some time, I was finally able to get it all up and running, backend, and storefront. What a feeling of utter triumph. I would kindly ask if you might be able to provide some guidance as to how to deploy? That would make the tutorial complete.
I think Medusa showing how to deploy your Backend or your storefront in their docs.
Thanks a lot for this video on Medusa.js. I hope many more will follow 👍
Could you do a video on deployment?
Dido
I used this deployment guide: ruclips.net/video/pP84utXQgxg/видео.htmlsi=v6uViazAawB7Ybj3
Was very easy to follow, but is limited only to one hosting provider. haven't had any issue so far.
@@rpals5412 Thanks!
Thank you ever so much! I wish I could smash the like button over and over! LOL Seriously though, one of the most beneficial dev guide's I've ever had the pleasure of using!
THANK YOUUUU, IT'S SO HELPFUL :))))
Please add more tutorial about customising things and deployment
if you get stuck in "command not found: docker-compose" around 9:35 when enterin the command "docker-compose up --build -d" , the command replaced by "docker compose" without
dash.
Good in depth summary and walk thru. Thanks! Keep it up. Maybe go thru and build the marketplace recipe! 👍
Could you do a video on deployment to DigitalOcean?
Nice guide for beginners. Thanks John
Wow, that is what i was looking for. Thank you
The video was great! Thank you. Did you do another one for deployment, payment, and delivery plugin setup?
The Medusa JS docs leave out crucial steps about how to get everything up and running. I had a nightmare of a time trying to get it to work, and ultimately failed after several hours.
Sorry to hear you feel that way hopefully this video will help you get going.
Well, I'm sure a lot of the people attracted to watch this video know fully what you're trying to explain. Admittedly, I'm a bit in over my head, but man, would I love to figure out a way to avoid having to pay Shopify a hefty fee every month for my ignorance. I also want to do something I'm not sure you can do on Shopify which is to build a two-sided market. I'll just end by saying that teaching people how to code is harder than coding itself. @@the_full_stack_junkie
Yeah i also hate their docs. They complicate too much things.
@@Houseofstartup i think their docs is quite amazing. If you understand how complicated this product is then the docs is actually pretty good. A lot of reading in deed, but the docs has just been improving everytime.
@@the_full_stack_junkie I followed them, exactly, My installation failed.
Great video, thank you man!
Hey, nice tutorial.
I have issues with seeding the data, it keeps spinning but no further installations are happening,
✔ Created project directory
✔ Installed Dependencies
✔ Project Built
✔ Ran Migrations
✔ Created admin user
⠴ Seeding database..
I am having the same issue
did you find any solutions?
@@karimmaamari4981 nah not at all it's not seeding the data, tried it like 10 times
create-medusa-app is stuck at seeding database part for me too. The user authentication page where you can assign a password to the email the setup prompted for does not show, preventing login. Can someone help?
Hi @@the_full_stack_junkie How can we get the .env.template & the docker-compose.yml that has the stuff you have, also how does your docker work without throwing error because there is no .env file when you started?
can you do a video where you switch medusajs to production on a valid domain name with SSL?
Hi. Great video thanks so much for sharing your ideas! Can you tell me what dropshipping like zendrop or usadrop integrates seamlessly with medusa?
Kindly guide us how to deploy it on vercel using its PostgreSQL.
such an indian way of saying it..
Hi, I have a seperate front end template which i will like to link with the backend, Please can you make a video regarding this?
Very useful video. Thanks a lot! I would love to see how you can set up the storefront
Very nice video thank you! would love a follow up!
I have followed each step carefully , but once the app is running , the message on the page is localhost refused to connect (ERR_CONNECTION_REFUSED), I've tried so many times but stuck on this , maybe someone could help?
Did you follow the same version installation as well? If you want to follow along with the video please ensure you are using the same version (can check in the github package.json)
Else please refer to the current live docs Medusa is a growing software. So things do tend to change as it improves.
@@the_full_stack_junkie I've tried the both ways : 1.Follow up to the repo of yours and git pull from the master branch , install all the dependencies and connect to db. 2.As per guide in the video following the steps including the recommendations from the official medusa docs. Unfortunately none worked for me.
Everything worked for me. However, after a few days I wanted to access the admin dashboard again but the localhost won't load. "ERR_CONNECTION_REFUSED" Ho can I view the admin dashboard or the storefront?
did you ever get solution for this?
can you make a new short video of how to deploy this webapp
Thank you so much for the video!! It is amazing. Do you know if Medusa supports multi-tenant? Thanks a lot :)
It does, it's described as Marketplace in the Recipes section of docs
hi, what is the path for expanding this to a marketplace? like buyers could purchase from multiple seller, seller dashboard, etc. does medusa capable of that?
really good video, please do more about medusa
Couldn't connect to PostgreSQL using the database URL you passed. Make sure it's correct and try again.
I have verified that the container is up and running
I had the same issue, I tried removing the user & even tried connecting using dbeaver, it still did not work
nice video, but i cant progress cuz i cant install docker, i keep getting error "Docker Desktop - WSL update", is there any video that arent using docker?
Thanks so much for the tutorial. I was able to get a local version running rather quickly, but keep running into weird things with deployment. It seems to be an issue with the .env not being recognized, but non of the documentation seems to help. If you could do a quick video or guide on deployment it would be amazing!
.env file is rather an option, for convenient development. On the server you should set your envs either directly in the system or use some kind of secret manager, like GCP Secret Manager.
Thank you very much, Very informative and educative , well explained .
Glad it was helpful!
Couldn't connect to PostgreSQL using the database URL you passed. Make sure it's correct and try again. ... it's shown in the first command you wrote to build new medusa aoo
Are you running PostgreSQL locally or with the docker container? Please make sure that your Postgres is actually running then the link should work fine
@@the_full_stack_junkie docker desktop shows me docker stopped working / and I already downladed postgresql and pg admin but message still shown
Same issue. Did you solve it?
Hey @the_full_stack_junkie, I'm running in a Docker container and I'm encountering an error: 'Couldn't connect to PostgreSQL using the database URL you passed.' Any advice? Btw, your video is awesome! Thanks a lot!
@ealaniss glad to hear you like video.
So first i would make sure the container is up and running with no issues.
And make sure the password, username, and db name you use in the connection string is a match to docker-compose ENV values.
You could also use pgadmin or db connection tool to check if you can connect to db without any issues. Then the rest of the setup video should work fine✌
I hear the south african accent! 💫 😂 Please do a video to customize to add other tables or inherit and add fields, and make this into a Multivendor marketplace like takealot or Amazon!
Please expand on this project or maybe the nextjs-commerce acme store with medusa.js.
Love the content
thanks so much for the guide! i've watched probably 10 times now haha. the issue i'm having now, the storefront seemed to be setting my default region to EU, which i am not operating in (my products were showing euros in their prices). when i removed EU from regions in the admin panel, my storefront is now not showing any of my products. it seems to be acting like i am viewing from EU (and products are not available), when i am actually viewing from the US. i keep getting error at the line: if (regionId !== region.id) {setRegion(region.id, finalCountryCode)}. i can't figure out where in the src code it lists my available regions. thank you for all of your help thus far!
i keep running into the same issue. I hope i can find the fix. Ill push to branch.
how can we change the branding of the admin dashboard branding,icons on login page?
Im facing issues connecting it to supabase postgres...please help somebody
Seems OK on the surface, but like any "one size fits all" solution, it can't beat a custom e-commerce solution. People re-invent wheels because all the other wheels don't do what they need or come with a bunch of built-in features that you don't need. The API is also awkward - their API's (SDK and REST response objects) all use snake_case, which is not proper JS/TS convention that uses camelCase. It makes object destructuring awkward and doesn't jive with our linting rules. Another issue is Postres - we use MariaDB (MySQL) and to use Medusa, we would have to change our AWS RDS instance to PG or create a second instance just for PG, costing is twice as much.
There is the ability to add your own complete logic and still have access to all the underlying APIs you can create your own new tables and it has all the architectural part needed to get you off the ground running. And that is the point of something like medusa. It is a lot better than using Shopify if you need some customization etc.
Re-inventing the wheel is never a good idea. Might feel better because you have the map you built and don’t have to learn a new map.
For linting it is very easy to just setup for you custom part of the code anyways. And the API are pretty good and still improving. If you understand all the logic Medusa handles you will find the API not that bad.
is medusa able to scale with demand? I'm currently tinkering around with it locally but have come to the conclusion that it's a bit finicky to use in its current state. The omnichannel module seems pointless in its current state and without it, I don't really see how so many are comparing this to shopify.
Ay bro are you from South Africa? Im.not sure but i can sorta hear an sA accent
Sure am ✌🏻🇿🇦
@@the_full_stack_junkie ayyy lekker lekker, sorry for asking man just wondered haha, nice vid bro
@sakosa8784 no need to be sorry at all ✌🏻👍🏻 thanks for reaching out
Ha I knew the accent within the first 30 seconds, but I’ve been working remotely with ZA folks for over a decade now so it’s second nature by now.
@@the_full_stack_junkiehowzit? I was about to ask if you’ve been to any braais lately but then remembered it’s winter there.
Great content as always.. Thanks :)
You are welcome and thanks for comment.
how to install in vps?
why would u bother doing this with docker and not directly posgresql? pls explain?
Wel then I dont need to install postgres on my machine I can setup any database or other service like redis etc directly in the docker-compose file. And it is easy then to share with anyone or deploy anywhere using docker.
Hey there! Docker is a lifesaver for us devs. It's like a clean, organized box for our apps. When I use Docker for databases, it keeps my machine clutter-free, makes testing a breeze, and ensures everyone's on the same page with our setups. Makes development a whole lot smoother!
What can Medusajs do that Magento can't do?
Firstly, you’re not tied into Adobe’s ecosystem. Lastly, you’re not tied into Adobe’s ecosystem.
thank you sir
build more
I'll try that tutorial, it's nice.
Thanks champ
I am getting an error "Couldn't connect to PostgreSQL using the database URL you passed." after "pnpm dlx create-medusa-app@latest --seed --db-url postgres://admin:password@localhost:5432/my_db" command.. Docker is running a container. Maybe I need to do something before running the npm command on Windows?
Try this instead:
npx create-medusa-app@latest --seed --db-url 'postgres://admin:p@ssw0rd!@localhost:5432/medusa_db'
I explain further up in the comments why wrapping in Single Quotes is likely the issue - Good Luck!