Skip to content

spdys/Kotlin.SpringbootV2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project navi/info

src/main/kotlin/com.coded.spring.ordering is where all the packages are

dtos ←→ controllerservicerepositoryentity

controller = entry point for http requests (receive requests, process data, determine response)

  • GET: retrieve data from a server
  • POST: send data to the server to create a new resource
  • PUT: update or replace an existing resource
  • DELETE: remove a resource from the server

service = business logic (processes data, makes decisions, eg: save order)

repository = database operations (handles communication with db: save, find, delete)

entity = domain model (defines what your data is in the system: fields, relationships)

dto = data transfer object (cleans request/response json bodies, to avoid returning entities)

services

  • welcome page
  • list all orders
  • create new order

progress

ultimate goal is to catch up!!!!

  • exercise 1: welcome
    • bonus: checked with curl command
  • exercise 2: endpoint to POST order
    • bonus: add createdAt column and sort
  • exercise 3: create + connect db
    • bonus: create items table and connect it to orders
  • exercise 4: user authentication
    • bonus: password validation so people can't create a weak password
  • exercise 5: user profiles
    • bonus:
  • exercise 6: unit testing
    • bonus:
  • exercise 7: menu endpoint
    • bonus:
  • exercise 8: configuration
    • bonus:
  • exercise 9: setup swagger
    • bonus:
  • exercise 10: refactor to micro services
    • bonus:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%