Giter Site home page Giter Site logo

camp_weekday_task10's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

camp_weekday_task10's People

Contributors

n-ryo avatar intern2019spring avatar

Watchers

James Cloos avatar

camp_weekday_task10's Issues

平日課題10:地域紹介アプリ

課題詳細

  • アプリ名(ディレクトリ名)は camp_weekday_task10 です。
  • Bootstrapを使用し、郵便番号から地名を検索し登録できる地名紹介アプリを作成して下さい。

受け入れ基準

  • 郵便番号7桁から地名の検索ができること。ただし、検索する際に以下の仕様を満たすこと。
    • 検索は以下URLを参考に 郵便番号検索API を使用すること。

      http://zipcloud.ibsnet.co.jp/doc/api

  • 地名の登録ができること。ただし、登録する際に以下の仕様を満たすこと。
    • 登録する項目は zipcode , prefcode , address1 . address2 , address3 , kana1 , kana2 , kana3 , introduction であること。
    • 郵便番号検索APIから取得したデータを登録すること。
    • 郵便番号検索APIから取得したデータは編集不可にすること。
    • 正常に登録ができた場合、一覧画面に遷移し、 地域を登録しました。 という登録完了メッセージを表示すること。
    • 正常に登録ができなかった場合、タスク登録画面のままで、バリデーションエラーのメッセージを表示すること。
    • モデル名は Area で作成して下さい。カラム名は以下です。
      zipcode, prefcode, address1, address2, address3, kana1, kana2, kana3 ,introduction
    • Area モデルの introduction が存在しない場合、登録できないこと。
  • 地域の一覧が確認できること。
  • Bootstrapを導入し、以下を作成すること。
    • Navbarの作成
    • 地域一覧画面の作成
      完成イメージを参考に作成して下さい。
    • 地域検索画面の作成
      完成イメージを参考に作成して下さい。
    • 地域紹介登録画面の作成
      完成イメージを参考に作成して下さい。

完成イメージ

地域検索画面

地域検索画面(パラメーターなしの場合=「リクエストのレスポンスフィールドstatusが200以外」)

地域検索画面(郵便番号桁数が不正の場合=「リクエストのレスポンスフィールドstatusが200以外」)

地域紹介登録画面(郵便番号検索が正常に動作=「リクエストのレスポンスフィールドstatusが200の場合」)

地域紹介登録画面(Areaモデルのintroductionが登録時、存在しない場合)

地域一覧画面(地域紹介登録が正常に行われた場合)

地域一覧画面

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.