Code Monkey home page Code Monkey logo

atdd-subway-map's Introduction

기능 요구사항 목록

  • 지하철 역 관리 API 구현
    • 지하철역 생성 시 이미 등록된 이름에 대한 요청이 오면 에러 응답
  • 지하철 노선 관리 API 구현
    • 지하철 노선 등록 API 구현
      • 지하철 노선 생성 시 이미 등록된 이름에 대한 요청이 오면 에러 응답
    • 지하철 노선 목록 조회 API 구현
    • 지하철 노선 조회 API 구현
    • 지하철 노선 수정 API 구현
    • 지하철 노선 삭제 API 구현

2단계 요구사항 목록

  • 직접 관리하던 객체를 스프링 컨테이너가 관리할 수 있도록 수정
  • 스프링 JDBC 적용
    • DAO 에서 관리하던 정보를 DB 로 이동
    • DB는 H2를 이용
  • 컨트롤러에서 사용되던 비즈니스 로직을 서비스 레이어로 이동

3단계 요구사항 목록

  • 노선을 등록하면 구간 정보도 함께 등록
  • 구간 추가 기능
    • 갈래길 방지 기능
    • 새로운 구간의 길이가 기존 구간의 길이보다 크거나 같으면 등록 불가
    • 추가하는 구간의 상행과 하행이 모두 노선에 등록되어 있으면 등록 불가
    • 추가하는 구간의 상행과 하행이 모두 포함되어 있지 않으면 등록 불가
  • 구간 삭제 기능
    • 중간 역이 제거될 경우 재배치 기능
      • 거리는 두 구간의 거리의 합
    • 구간이 하나인 노선은 구간 제거 불가

atdd-subway-map's People

Contributors

easthshin avatar woowabrie avatar gracefulbrown avatar wmakerjun avatar

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.