Giter VIP home page Giter VIP logo

halfpotch's People

Contributors

xl1 avatar

Stargazers

 avatar

Watchers

 avatar

halfpotch's Issues

URL 直す

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 であることを示したいので拡張子あってもいいと思う

lot 追加できるようにする

[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 が追加できるようにする。
パーツ名と色名のチェックが必要。

  • DataLoader を Service にする
  • テキストから lot に変換できるようにする

統計情報ページをつくる

パーツ平均金額(今までに使った金額 / 合計パーツ数)を出したいという需要がある
合計金額を出すために、通貨レート情報が必要

さらに他の情報も集めたページをユーザごとに用意するとよさそう
載せる情報の例:

  • パーツ数
  • 合計金額
  • 記録したエントリの数
  • 月ごとのエントリ数の推移グラフ
  • 何色を買ってるかのグラフ

logger の API

いまテキトウだけど適切にする

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+) 注文を削除

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.