Skip to content

SanyamPunia/medusa-bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📚 Medusa Bookstore

Bookstore E-Commerce Platform

  • An open source book buying platform made using Medusa

🌱 Project Structure

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

⚒ Local Setup

  • 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!

👤 Creating new Admin user

  • cd into the backend 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

Releases

No releases published

Packages

No packages published