Giter VIP home page Giter VIP logo

pdp's Introduction

pdp

pdp's People

Contributors

alexstasko avatar

Watchers

 avatar

pdp's Issues

Plug Swagger2

As a mentor a want to have Swagger2 configuration in the app/../configuration package

Add User domain

As a mentor, i want to have a User domain object:

  1. should have next fields:
  • String firstName
  • String lastName
  • String password
  • String email
  • Long id (for this would be better to create new common domain BaseEntity, but do not specify the type of field - use generic)
  • LocalDate createdDate (create separate domain for this 5 fields - StoredEntity)
  • LocalDate updatedDate
  • String createdByUser
  • String updatedByUser
  • int version
  1. Implement Builder for this class

Generic & Iterator Pattern

  1. Create separate module util
  2. Create AlexIterator interface with the following methods next(), hasNext()
  3. Create AlexCollection interface with the next methods: add, remove, size, iterator
  4. Create AlexCatCollection class and implement all methods. This collection should work only with Cat objects and all their implementations (PersianCat, SiameseCat, SphynxCat etc.)

As the result I want to have a manually created collection (without using Java Collection API) so that I could store all my cats in one place. And in case if I need to feed them I should have ability to iterate by this collection.

Implement UserService

As a mentor I want to have:

  1. UserServiceImpl class in the service/../impl package with the implementation of methods from UserService interface
  2. Also add UserRepository interface into repository/../api package with appropriate methods for CRUD operations.

Implement UserController with the CRUD operations

As a mentor I want to have a UserController class in the app/.../controller package with the following REST APIs:

  1. GET user/{id} - for finding user by identifier
  2. POST user/add - for adding new user
  3. DELETE user/{id} - for removing user by identifier
  4. PUT user/update
  5. Add UserService interface into service/../api package with appropriate abstract methods for controller (All CRUD operations)

(Optional) Plug JaCoCo

As a mentor I want to have JaCoCo plugged to the project to have ability generate coverage report with helpful of site/install maven commands

AS-1: Init SpringBoot application

As a mentor I want to have a multi module Spring Boot application.
Acceptance criteria:

  1. Use Spring Boot 2
  2. Maven as a build tool
  3. Add 3 modules inside application: "repository", "service", "app"
  4. Configure maven for all modules
  5. "repository" module should depends on "service" module
  6. "service" module should depends on "app" module

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.