2018.8.18 PORTもくもく会活動報告

in #japanese6 years ago

IMG_20180818_171557.jpg

こんばんは@tsureezyです!
この投稿作成時点で、まだもくもく会は続いているのですが、自分の作業はキリが良いところまで着たので少し早めの活動報告をしたいと思います。😄🤙

◆本日の活動結果◆


Ruby on rails製のWebアプリにStripe APIを用いたSubscriptionを実装!
(いわゆる月〇〇円をカード請求する月額プランを実装しました。)
Stripeについての詳細はこちら。🙋‍♀️ 💳

◆残した課題◆

  • 月額プランの退会する場合のロジックが未実装です(悪魔的仕様w)💧👿
  • とりあえず実装しただけなのでViewが見るに耐えられない代物です。(なので写真もUPしません)🌀
  • ◆もくもくした経緯◆


    現在作成中のアプリで、有料会員向けのコンテンツを提供する予定のためもくもくしてみました!
    JoltieeeもStripeを用いて決済・振込機能を実装したので、仕様が若干違ってもコードの転用が効くのか確認の意味も込めてチャレンジしました)

    ◆大まかなもくもくフロー◆

  • Stripeにログインし、ダッシュボード上で月額請求したいプランを作成
  • (プラン作成時に無料で試用できる期間も同時設定できます😇)

    ダウンロード.png

  • Stripeが提供するJavascriptとRuby on railsのgem "rails-assets-card"を利用してユーザーのカード情報入力画面を作成
  • 入力されたユーザーのカード情報とStripeダッシュボード上で作成したプランを紐付けるコントローラーを作成
  • スクリーンショット 2018-08-18 17.10.15.png

  • ユーザーのカード情報が更新されることも想定されるので、カード情報新規登録とカード情報更新のロジックを作成
  • ざっとこんなプログラミングを半日かけて作りました!💻🙆‍♂️

    ◆番外編 - 今日のランチ◆


    IMG_20180818_133354.jpg
    キーマカツカレー定食 890円🍛🇮🇳
    ライス400gもあり、未だにお腹いっぱいなので今日はもう晩御飯はいいかなぁ〜って感じです😅

    ◆次回のもくもく会◆


    次回は9/8(土)開催です!💻 🎉
    自分も仕事をなるべく空けて参加する方向です🏃‍♂️
    火急の課題がなければ、次回は苦手なUI関連のことをもくもくしてみたいと思います!👊

    Sort:  

    Congratulations @tsureezy! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

    You published your First Post
    You made your First Vote
    You made your First Comment
    You got a First Vote
    You got a First Reply
    Award for the number of upvotes received

    Click on the badge to view your Board of Honor.
    If you no longer want to receive notifications, reply to this comment with the word STOP

    Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

    Congratulations @tsureezy! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

    Award for the number of upvotes

    Click on the badge to view your Board of Honor.
    If you no longer want to receive notifications, reply to this comment with the word STOP

    Do not miss the last post from @steemitboard:
    SteemitBoard and the Veterans on Steemit - The First Community Badge.

    Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

    また、Steemitに投稿していただけると嬉しいです。

    Posted using Partiko iOS

    Coin Marketplace

    STEEM 0.16
    TRX 0.13
    JST 0.026
    BTC 57156.19
    ETH 2431.86
    USDT 1.00
    SBD 2.41