项目作者: VVishvam

项目描述 :
Make a request through postman on
高级语言: Java
项目地址: git://github.com/VVishvam/kaiburr.git
创建时间: 2020-05-16T14:28:25Z
项目社区:https://github.com/VVishvam/kaiburr

开源协议:

下载


Kaiburr REST API

A task project for the Kaiburr recruitment process.


Features

  • GET endpoints in spring boot
  • PUT endpoint in spring boot
  • DELETE endpoint in spring boot
  • Dockerized image
  • Docker compose orchestration

Pre-requisites

  • OpenJDK 8
  • Maven
  • MongoDB
  • Docker (note that if you have docker then you do not need any of the above pre-requisites)

How to run

The following command will run a local mongoDB instance in a docker container binded to port 27017 and a maven application bound to port 8080.

  1. docker-compose up -d

How to query

Description Method Payload Response
Insert data PUT name,id,language,framework as JSON Status: 201
Read all data GET localhost:8080/ status 200, data name,id,language,framework as JSON
Read by ID GET url parameter localhost:8080/{id} status 200 name,id,language,framework as JSON
Delete by ID DELETE url parameter localhost:8080/{id} 200

" class="reference-link">testing

Made with :heart: by Vishvam Vyas