Weamix / SpringBootAPI

Demo API project for testing Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot API

Run : ./mvnw spring-boot:runG

Add a sport : POST : http://localhost:8080/sports

Directly in Postman (Body>Raw>JSON) :

{
    "id": 1,
    "name": "Skiing",
    "description":"On your skis, these longs and narrows kinds of skates, you can practice several disciplines that will transport you, for fun or during competitions, in the heart of the most beautiful winter landscapes. You’ll be able to ride down the hills at a fast pace and execute controlled turns, allowing you to take fresh air and strengthen your cardiovascular system. Have a fun ride!"
}

Get all sports : GET : http://localhost:8080/sports

Inspired by : https://sports.api.decathlon.com/sports/natation

About

Demo API project for testing Spring Boot


Languages

Language:Java 100.0%