xl1 / halfpotch Goto Github PK
View Code? Open in Web Editor NEWtools for Lego builders
Home Page: https://halfpotch.appspot.com/
tools for Lego builders
Home Page: https://halfpotch.appspot.com/
before | after |
---|---|
/optimizer/app/getpartsdata?num=3 | /data/colors |
/optimizer/app/getpartsdata?num=5 | /data/codes |
/optimizer/app/getpartsdata?num=0 | /data/parts |
/optimizer/app/fetchbldata?num=3 | /data/colors/update |
/optimizer/app/getstoredata?part=3003&color=2&amount=150 | これは別にいい |
/data/* は TSV であることを示したいので拡張子あってもいいと思う
[New] Black Brick, Modified 1 x 2 with Grille (Grill) (x2) ..... EUR 0.04706 each = EUR 0.09412
[New] Red Tile 1 x 2 with Groove (x80) ..... EUR 0.04538 each = EUR 3.6304
[New] Reddish Brown Plate 1 x 1 (x10) ..... EUR 0.04958 each = EUR 0.4958
[New] White Arm Mechanical, Battle Droid (x31) ..... EUR 0.12941 each = EUR 4.01171
というようなテキストを入れると lot が追加できるようにする。
パーツ名と色名のチェックが必要。
パーツ平均金額(今までに使った金額 / 合計パーツ数)を出したいという需要がある
合計金額を出すために、通貨レート情報が必要
さらに他の情報も集めたページをユーザごとに用意するとよさそう
載せる情報の例:
数量オーバーがすぐわかるので便利
いまテキトウだけど適切にする
method | url | returns | effect |
---|---|---|---|
GET | /logger/api/verify | ユーザ情報 | |
GET | /logger/api/orders | ログイン中ユーザの注文リスト | |
GET | /logger/api/orders/(\w+) | 他のユーザの注文リスト | |
POST | /logger/api/order/create | 生成された注文 | 新しい注文を DB に保存 |
POST | /logger/api/order/update/(\d+) | 更新された注文 | 注文を更新 |
POST | /logger/api/order/delete/(\d+) | 注文を削除 |
replaceState 漏れ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.