Fork This REPO.
Create codespace from repository.
After container for codespace is built, run the following commands.
to add seed data for development:
- medusa seed --seed-file=data/seed.json
to start medusa for development:
- medusa develop open second terminal window and run
- npm run dev:admin
set port 9000 to public to use in codespaces:
- There is ports tab in VSCode same window where terminal is right click on visibilty Private i set it to Public for port 9000.
continue to this repo and follow readme to setup the frontend:
medusa start (for development on codespace or production)
You can check if backend is installed correclty by doing this command in your terminal.
curl localhost:9000/store/products
And the result will be displayed as a Json formats.