Coder Social home page Coder Social logo

cypher-hello-world's Introduction

Stats

GitHub stats Most Used Languages

資格 Certifications

  • 基本情報技術者 Fundamental Information Technology Engineer
  • 応用情報技術者 Applied Information Technology Engineer
  • Oracle Certified Java Programmer, Silver SE 8
  • Oracle Certified Java Programmer, Gold SE 8
  • AWS Certified Solutions Architect - Associate
  • AWS Certified Developer - Associate
  • AWS Certified SysOps Administrator - Associate
  • Certified ScrumMaster
  • Professional Scrum Master I
  • 日本安全食料料理協会コーヒーソムリエ Coffee Sommelier
  • 食品衛生責任者 Food Sanitation Manager
  • STARTS Open Water Diver

登壇 Presentations

記事 Posts


Buy me a coffee #buymeacoffee

cypher-hello-world's People

Contributors

mxshun avatar

Watchers

 avatar

cypher-hello-world's Issues

No.4 Exception 対応

Applicationで例外が発生した際、HTTP Status 500でJsonを返却してください。
例: {"reason":"something wrong ;-("}

No.2 Hello World API

requestで name を受け取り、例の通りのResponseをJsonで返却してください。
例: {"message":"Hello, $name"}

No.5 Validation

  1. nameに「3文字以上10文字以内」のValidationを設定する
  2. ValidationExceptionが発生した際、HTTP Status 400でResponseをJsonで返却してください。
    例: {"reason":"invalid parameter: detail: [hello.name: 3 から 10 の間のサイズにしてください]"}

No.7 Debug Log

  1. Applicationにdebug logを仕込み、request nameをlog出力してください
  2. 自身の開発パッゲージにのみ設定するようにしてください (他のLibrary, 例えばspringframeworkのdebug logは出力しない)
  3. spring profilesがdevのときにだけdebug logを出力するようにしてください

No.1 Hello World

  1. "Hello World" を Stringで返却するAPIを作成してください
  2. Spring Initializrを利用して作成してください。ブラウザでDownloadしてもIDEの機能を利用してもOKです
  3. Project名称はお好きなもので

No.9 その他

  1. graceful shutdown対応をしてください
  2. healthcheck対応をしてください

No.6 Spring Profilesごとに定数を定義する

  1. APIのResponseを {"message":"Hello $text, $name"} に修正してください
  2. textの値はapplication.ymlに定義してApplication内で利用してください
  3. spring profilesがdevのときはtextの値を変えてください
    • spring profiles dev以外の場合の出力: {"message":"Hello my best friend, foo"}
    • spring profiles がdevの場合の出力: {"message":"Hello my friend, foo"}

No.8 Kotlin Code Style

プロジェクトのKotlin formatをKotlin Code Styleにしてください (gradle.propertiesの設定)

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.