Skip to content

wolfman0719/shopdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop DEMO

ShopデモアプリケーションのDocker Build

ビルドプロセス

Build & Run

  • docker-compose up -d --build

起動方法

デモアプリケーション

localhost:52773/csp/user/Order/Shop/login.htm

管理ポータル

localhost:52773/csp/sys/%25CSP.Portal.Home.zen?IRISUsername=_system&IRISPassword=SYS

Webターミナル

localhost:52773/terminal/?IRISUsername=_system&IRISPassword=SYS

RESTインターフェース

GETサンプル

http://localhost:52773/api/shop/products?IRISUsername=_system&IRISPassword=SYS

content-type application/json; charset=utf-8

POSTサンプル

http://localhost:52773/api/shop/addorder?IRISUserName=_system&IRISPassword=SYS

{"ShipTo":{"City":"Tokyo","Street":"Ginza","PostalCode":"1600001"},"CustomerId":1,"Items":[{"ProductId":"MNT001","Amount":1},{"ProductId":"PC001","Amount":1}]}

クレデンシャル情報

デモアプリケーション
項目
利用者ID taro
パスワード taro
その他
項目
システムログイン  _system
パスワード  SYS

SQLサンプル

  • select * from shop.porder
  • select * from shop.orderitem

インターオペラビリティデモ

プロダクション開始と注文ファイルのコピー

docker ps
docker exec -ti shopdemo /bin/sh

rm /intersystems/iris/shop/message/in/.gitkeep

iris session iris

>do ##class(Ens.Director).StartProduction("Shop.Production")
>h

cp /intersystems/iris/shop/samples/* /intersystems/iris/shop/message/in

結果確認

  • select * from shop.porder
  • select * from shop.orderitem

react デモ

react-setup.md参照

About

online shopping site demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published