Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anoochit/medusa-docker
https://github.com/anoochit/medusa-docker
Last synced: about 24 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/anoochit/medusa-docker
- Owner: anoochit
- Created: 2023-11-29T05:52:46.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-08T01:35:11.000Z (about 1 year ago)
- Last Synced: 2024-05-21T07:04:23.092Z (9 months ago)
- Language: Dart
- Size: 19.4 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Medusa.js
This repository compose of
- Docker compose for Medusa.js backend
- Swagger UI for Store and Admin API
- POS example app use a raw REST API Call
- Medusa.js Dart & Flutter package, generate from Swagger Code Gen## Medusa.js Docker compose
Build container
Build backend with docker compose
`docker compose build`
Run server
`docker compose up -d`
The backend API is running at http://localhost:9000 and the admin dashboard running at port http://localhost:7001
Add new admin account, attach to medusa-server container
`docker exec -it medusa-server bash`
Add sample data from seed
`medusa seed -m -f data/seed.json`
Add a new admin user
`medusa user -e [email protected] -p Hello123`
Test API
`curl http://localhost:9000/store/products`
## Swagger UI
- [Store](http://localhost:4002)
- [Admin](http://localhost:4001)## Sample POS App
- [POS](/pos/)
## Swagger Code Gen, a package for Dart & Flutter
- [MedusaJS](./package/medusajs/)## Note: Flutter Medusa Admin App
Flutter Admin from [mllrr96](https://github.com/mllrr96)
- [Medusa Admin Flutter](https://github.com/mllrr96/Medusa-Admin-Flutter)
- [Medusa API Flutter](https://github.com/mllrr96/Medusa_Store_API_Flutter)