E-commerce Website with Medusa + Next.js : A Beginner's Guide

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 104

  • @rogrossm
    @rogrossm Год назад +12

    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!

  • @billthedill1268
    @billthedill1268 11 месяцев назад +5

    Great tutorial and free. I would totally pay for a longer course or tutorial

  • @CriptoPoeta
    @CriptoPoeta Год назад +1

    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!

  • @btcabeza
    @btcabeza 5 месяцев назад +1

    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.

  • @esakib
    @esakib 5 месяцев назад +1

    Medusa is awesome. Not many people are talking about this!

  • @DanMalm71X
    @DanMalm71X Год назад +4

    Love to see more about medusa from you

  • @sohansangwan4403
    @sohansangwan4403 8 месяцев назад +1

    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 !

  • @DanielRLuke
    @DanielRLuke Год назад +9

    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.

    • @mosaabdev
      @mosaabdev Год назад +1

      I think Medusa showing how to deploy your Backend or your storefront in their docs.

  • @AnthonyCandaele
    @AnthonyCandaele Год назад +5

    Thanks a lot for this video on Medusa.js. I hope many more will follow 👍

  • @chukwudiofoma6665
    @chukwudiofoma6665 Год назад +34

    Could you do a video on deployment?

    • @billthedill1268
      @billthedill1268 11 месяцев назад

      Dido

    • @rpals5412
      @rpals5412 10 месяцев назад +1

      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.

    • @DroisKargva
      @DroisKargva 9 месяцев назад +1

      @@rpals5412 Thanks!

  • @shaunxenonkhan7511
    @shaunxenonkhan7511 Год назад

    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!

  • @putriaphrodite___
    @putriaphrodite___ 2 месяца назад +1

    THANK YOUUUU, IT'S SO HELPFUL :))))

  • @rjtdas
    @rjtdas Год назад +7

    Please add more tutorial about customising things and deployment

  • @volkanbozkurt7373
    @volkanbozkurt7373 6 месяцев назад

    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.

  • @altermode
    @altermode 9 месяцев назад +1

    Good in depth summary and walk thru. Thanks! Keep it up. Maybe go thru and build the marketplace recipe! 👍

  • @chokkiongchan467
    @chokkiongchan467 Год назад +2

    Could you do a video on deployment to DigitalOcean?

  • @aravindan1309
    @aravindan1309 6 месяцев назад +1

    Nice guide for beginners. Thanks John

  • @obloo
    @obloo 11 месяцев назад

    Wow, that is what i was looking for. Thank you

  • @LucasRichards-ld3hc
    @LucasRichards-ld3hc Год назад +1

    The video was great! Thank you. Did you do another one for deployment, payment, and delivery plugin setup?

  • @DanielRLuke
    @DanielRLuke Год назад +11

    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.

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +3

      Sorry to hear you feel that way hopefully this video will help you get going.

    • @DanielRLuke
      @DanielRLuke Год назад

      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
      @Houseofstartup Год назад +3

      Yeah i also hate their docs. They complicate too much things.

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +2

      @@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.

    • @DanielRLuke
      @DanielRLuke Год назад

      @@the_full_stack_junkie I followed them, exactly, My installation failed.

  • @resteaelias
    @resteaelias 6 месяцев назад +1

    Great video, thank you man!

  • @chosenfewrecords
    @chosenfewrecords Год назад +1

    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..

    • @karimmaamari4981
      @karimmaamari4981 Год назад +1

      I am having the same issue

    • @karimmaamari4981
      @karimmaamari4981 Год назад

      did you find any solutions?

    • @chosenfewrecords
      @chosenfewrecords Год назад

      @@karimmaamari4981 nah not at all it's not seeding the data, tried it like 10 times

    • @erics1337
      @erics1337 9 месяцев назад +1

      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?

  • @vgdecidio
    @vgdecidio Год назад +1

    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?

  • @SarpsTours
    @SarpsTours 10 месяцев назад +1

    can you do a video where you switch medusajs to production on a valid domain name with SSL?

  • @PartneredBrands
    @PartneredBrands 6 месяцев назад

    Hi. Great video thanks so much for sharing your ideas! Can you tell me what dropshipping like zendrop or usadrop integrates seamlessly with medusa?

  • @junaidalam7371
    @junaidalam7371 Год назад +3

    Kindly guide us how to deploy it on vercel using its PostgreSQL.

  • @NsmahStore
    @NsmahStore Месяц назад

    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?

  • @memosales6985
    @memosales6985 9 месяцев назад +1

    Very useful video. Thanks a lot! I would love to see how you can set up the storefront

  • @G00rds
    @G00rds 7 месяцев назад +1

    Very nice video thank you! would love a follow up!

  • @GeorgiiKerzman
    @GeorgiiKerzman 5 месяцев назад +2

    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?

    • @the_full_stack_junkie
      @the_full_stack_junkie  5 месяцев назад

      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.

    • @GeorgiiKerzman
      @GeorgiiKerzman 5 месяцев назад

      @@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.

  • @maltesyt
    @maltesyt Год назад +1

    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?

    • @vgdecidio
      @vgdecidio Год назад

      did you ever get solution for this?

  • @youssefrabeiii
    @youssefrabeiii 6 месяцев назад +2

    can you make a new short video of how to deploy this webapp

  • @rpfelgueiras
    @rpfelgueiras Год назад +2

    Thank you so much for the video!! It is amazing. Do you know if Medusa supports multi-tenant? Thanks a lot :)

    • @LucasMatuszewski
      @LucasMatuszewski 11 месяцев назад +3

      It does, it's described as Marketplace in the Recipes section of docs

  • @AdiWasturaka
    @AdiWasturaka 5 месяцев назад

    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?

  • @muadpn
    @muadpn Год назад +1

    really good video, please do more about medusa

  • @devadathanp.r3098
    @devadathanp.r3098 Год назад +1

    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

    • @vgdecidio
      @vgdecidio Год назад +1

      I had the same issue, I tried removing the user & even tried connecting using dbeaver, it still did not work

  • @transcendenceuniverse4816
    @transcendenceuniverse4816 Год назад

    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?

  • @Sirvolta
    @Sirvolta Год назад

    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!

    • @LucasMatuszewski
      @LucasMatuszewski 11 месяцев назад

      .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.

  • @praveen_javali
    @praveen_javali Год назад +1

    Thank you very much, Very informative and educative , well explained .

  • @akramswelm6196
    @akramswelm6196 Год назад +1

    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

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +2

      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

    • @akramswelm6196
      @akramswelm6196 Год назад

      @@the_full_stack_junkie docker desktop shows me docker stopped working / and I already downladed postgresql and pg admin but message still shown

    • @yacapon
      @yacapon Год назад

      Same issue. Did you solve it?

    • @ealaniss
      @ealaniss Год назад +1

      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!

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +2

      @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✌

  • @MuhammadSaloojee
    @MuhammadSaloojee 5 месяцев назад

    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!

  • @lovrozagar3729
    @lovrozagar3729 Год назад +2

    Please expand on this project or maybe the nextjs-commerce acme store with medusa.js.
    Love the content

  • @fobtac
    @fobtac Год назад

    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!

    • @jmariwyatt
      @jmariwyatt Год назад +1

      i keep running into the same issue. I hope i can find the fix. Ill push to branch.

  • @talhaamirali3786
    @talhaamirali3786 Год назад

    how can we change the branding of the admin dashboard branding,icons on login page?

  • @InterimCyphinx
    @InterimCyphinx 8 месяцев назад

    Im facing issues connecting it to supabase postgres...please help somebody

  • @gosnooky
    @gosnooky Год назад

    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.

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +1

      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.

    • @MagicTheKrakening
      @MagicTheKrakening Год назад

      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.

  • @Arcane_Dragon878
    @Arcane_Dragon878 11 месяцев назад +1

    Ay bro are you from South Africa? Im.not sure but i can sorta hear an sA accent

    • @the_full_stack_junkie
      @the_full_stack_junkie  11 месяцев назад

      Sure am ✌🏻🇿🇦

    • @Arcane_Dragon878
      @Arcane_Dragon878 11 месяцев назад +1

      @@the_full_stack_junkie ayyy lekker lekker, sorry for asking man just wondered haha, nice vid bro

    • @the_full_stack_junkie
      @the_full_stack_junkie  11 месяцев назад

      @sakosa8784 no need to be sorry at all ✌🏻👍🏻 thanks for reaching out

    • @saggygnaw
      @saggygnaw 5 месяцев назад

      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.

    • @saggygnaw
      @saggygnaw 5 месяцев назад

      @@the_full_stack_junkiehowzit? I was about to ask if you’ve been to any braais lately but then remembered it’s winter there.

  • @rajayogan8884
    @rajayogan8884 Год назад +1

    Great content as always.. Thanks :)

  • @ahmedmostapha5909
    @ahmedmostapha5909 18 дней назад

    how to install in vps?

  • @burnnLY
    @burnnLY Год назад +1

    why would u bother doing this with docker and not directly posgresql? pls explain?

    • @the_full_stack_junkie
      @the_full_stack_junkie  Год назад +5

      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.

    • @amra-dev
      @amra-dev Год назад +3

      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!

  • @SarpsTours
    @SarpsTours 9 месяцев назад

    What can Medusajs do that Magento can't do?

    • @saggygnaw
      @saggygnaw 5 месяцев назад

      Firstly, you’re not tied into Adobe’s ecosystem. Lastly, you’re not tied into Adobe’s ecosystem.

  • @raymondmayito3397
    @raymondmayito3397 Год назад

    thank you sir

  • @Scott-uz1cd
    @Scott-uz1cd 4 месяца назад +1

    build more

  • @rafalmo6777
    @rafalmo6777 Год назад +1

    I'll try that tutorial, it's nice.

  • @alekseistukalov8270
    @alekseistukalov8270 Год назад +2

    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?

    • @dawidspamer5312
      @dawidspamer5312 Год назад +1

      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!