Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anoochit/medusa-docker


https://github.com/anoochit/medusa-docker

Last synced: about 24 hours ago
JSON representation

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)