Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 920 Bytes

readme.md

File metadata and controls

53 lines (40 loc) · 920 Bytes

Prerequisites

1. How to start

$ git clone https://github.com/crkarthik11/lably.git
$ cd lably
$ ./gradlew
$ ./gradlew bootRun
$ curl -v localhost:8080

Entities to create

Lab

  • String name
  • String address
  • String phone
  • String pincode

Tests

  • String name
  • String description
  • Double price

Admin

  • String name
  • String username
  • String password

Customer

  • String name
  • String address
  • String age
  • String gender

APIs

Admin controller

  • Add Admin (POST)
  • List of admins - Must return 5 admin objects (GET)
  • Api to return single admin by username (GET)

Lab controller

  • Add Lab (Post)
  • List of labs - Must return 5 labs in list (GET)
  • Api to return single lab by name (GET)