A demo website powered by Medusa and Next.js ⚛️!
To learn how to build this, please visit https://lo-victoria.com/how-to-build-a-nextjs-e-commerce-website-with-medusa
git clone https://github.com/victoria-lo/medusa-demo.git
cd client && npm install
cd server && npm install
- Create
.env
file in server directory with the following variables:
DATABASE_TYPE=postgres
DATABASE_URL=postgres://postgres:{PASSWORD}@localhost/{DB_NAME}
- Run
npm run dev
on both client and server directory