Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.17 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.17 KB

Crud Test (Kotlin)

This project is a very simple to-do list HTTP server and HTTP client.

The goal will be to test

  • your ability to understand code you have not seen before
  • add to the code using the existing code as examples
  • explain your thought process as you are doing so

Project structure

crud-test/
|- client/
|  |- src/
|     |- main/
|        |- kotlin/
|           |- ca.dialai.crud.test/
|              |- Main.kt
|              |- TodoClient.kt
|              |- TodoRecord.kt
|- server/
|  |- src/
|     |- main/
|        |- kotlin/
|           |- ca.dialai.crud.test/
|              |- Main.kt

The only files you will have to touch are:

server/src/main/kotlin/ca/dialai/crud/test/Main.kt: Which contains the entire server

client/src/main/kotlin/ca/dialai/crud/test/Main.kt: Which contains the code that uses the client to test the server

client/src/main/kotlin/ca/dialai/crud/test/TodoClient.kt: Which contains the implementation of the client to interact with the server.

Everything else you can safely ignore

Running the Project

Run the server

./gradlew server:run

Run the client

./gradlew client:run