- An open source book buying platform made using Medusa
- Storefront
- It is the web app that customers have access to (for viewing/purchasing orders, etc)
- Storefront REST API - https://docs.medusajs.com/api/store/
- Admin
- For admins (storing collections of items)
- All the items stored here will be used for retrieving & fetching items to the Storefront.
- Admin REST API - https://docs.medusajs.com/api/admin
- Backend
- The main component, which provides the services to fetch/manipulate data from Admin.
- 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
- Install all the dependencies of each directory (assuming you are in root directory (
medusa-bookstore
))
$ cd backend
$ yarn
- 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 some@email.com -p somepassword
- This will create a new user which can be used to access the dashboard