Giter VIP home page Giter VIP logo

backlog-board's Introduction

Application Explanation

This application shows backlog issues as board.

You can use it on Heroku.

Component

This works on JDK 1.8.

Development

  • launch server
    • for Linux: ./gradlew bootrun -PactiveProfile=default
    • for Windows: gradlew bootrun -PactiveProfile=default

If you want to create another environment, copy application-default.properties.sample to application-your_env.properties, and execute ./gradlew bootrun -PactiveProfile=your_env

Test

  • all test
    • ./gradlew test
  • one test
    • ./gradlew test --tests "*TestClass"
    • ./gradlew test --tests "com.package.name.dir.TestClass"

Coding Convention

Common

  • Lang class must inherit Lang.
  • Use Long, not Int, as much as you can.
  • Please prevent use else block when you use if statement.
  • follow idea standard
1 + 2 * 3 / 4
if (...) {
}
while (...) {
}
var v: V
val w: W

Naming

General
  • Use start and end to represent interval
    • Good: startDate, endTime
    • Bad: beginDate
  • Use from and to to represent search condition
  • make variable and method camel case naming
  • abbreviation must not be composed only of capital letters.
    • Url, Ufo
  • Every method and variables have to be in Camel Case format.
Variables
  • Add List, Array, Set, Map to its variables. Don't use plural form for representing collections
    • Good: festivalList: List<Festival>
    • Bad: festivals: List<Festival>
Method
  • Begin method signature with verb
Presentation
  • Don't write text directly, except for English. Use Lang class.
Controller
  • Finish its name with Controller
  • Add this line to every controller
    • companion object State: RedirectAttributesHandler()
View
  • Finish its name with View
  • Every view must be object
  • The last parameter of every method showing html must be RedirectAttributes
Paging
  • Use Pager class
Static File
  • library => public/lib

    • ex) if you want to use Foundation library, create foundation directory under public/lib and extract it there.
  • css file => public/css

  • javascript file => public/js

  • static file must be served from web server application with cache system (under construction)

URL
  • for crud
    • GET / => index
    • POST / => create
    • GET /{id} => show (and edit)
    • GET /{id}/edit => edit
    • PATCH /{id} => update
    • DELETE /{id} => delete

backlog-board's People

Contributors

kenjiohtsuka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

backlog-board's Issues

text garbling of issue.js

var actualHour = prompt("実績工数を入力�?��?��??�?��?��?�。 Please input actual hours. (h)");

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.