- This starter template provides authentication workflow out of the box, so you don't have to re-invest your time building it from scratch.
- Maintable folder structure and following Medusa's similar code practices.
- Currently supporting version
v.1.5.0
- Tailwind CSS integration with Next.js for styling.
- Next.js - Frontend Framework
- Tailwind CSS - CSS Utility Framework
- Medusa.js - ecom Platform
- Start off by installing
medusa
client globally on your system
$ yarn global add @medusajs/medusa-cli
📌 Quick Note (By default)
- Admin runs on PORT - 7000
- Storefront runs on PORT - 8000
- Backend runs on PORT - 9000
cd
into each directory and install the dependencies
# Backend
cd backend
yarn install
# Admin
cd admin
yarn install
# Storefront
cd storefront
yarn install
- The backend server should be running in the background while developing the application!
cd
into thebackend
directory and run the following command$ medusa user -e [email protected] -p somepassword
- This will create a new user which can be used to access the dashboard
- Test the application by running the server, admin and storefront
# Backend
cd backend
yarn start
# Admin
cd admin
yarn start
# Storefront
cd storefront
yarn dev
- Login Component
- Register Component
- Authenticated User (any protected route)
Follow the deployment guide provided in the docs -