Software Alternatives & Reviews

Getting started with Spring Boot: Creating a simple movies list API.

Lombok Insomnia REST
  1. 1
    Application and Data, Languages & Frameworks, and Java Tools
    Pricing:
    • Open Source
    Provides us with embedded constructors and accessors so we can reduce the written code. See more about the [Lombok project](https://projectlombok.org/). The ```@Entity``` is there to tell Spring Data that particular class should be represented as a table in our relational database. We call that process an ORM (Object Relational Mapping). So that our id won’t be duplicated, we will use a sequence, we put the ```@GeneratedValue(strategy = GenerationType.SEQUENCE)``` there. ### Building the repository facade Simply, an interface that will inherit Spring Data JPA powers and handle the CRUD ORM operations on our behalf.

    #Web Frameworks #Application And Data #Languages & Frameworks 49 social mentions

  2. The most intuitive cross-platform REST API Client 😴
    Pricing:
    • Open Source
    All we need to do next is to test what we build via a rest client, for this reason, I'm using [Insomnia](https://insomnia.rest/) : ##### The post end-point ##### The get end-point ##### The put end-point ##### The delete end-point And finally, testing the error scenario for some end-points. Let's try and save a movie with an existing id : Or delete a non-existing movie : ## Summary Spring Boot is a powerful apps making tool, takes away all the times consuming tasks and leaves you with the logical ones to handle. Don't get fouled, building APIs is not that easy, and from what I saw, that's just the tip of the Iceberg! Find the source code [Here](https://github.com/xrio/simple-spring-boot-movies). More articles [Here](https://elattar.me/).

    #API Tools #API #Developer Tools 120 social mentions

Discuss: Getting started with Spring Boot: Creating a simple movies list API.

Log in or Post with