Spring Rest Batch

Spring Boot - Batch project to read Movies from TheMovieDB REST API.

Tech

SpringRestBatch uses a number of open source projects:

  • Spring Boot - Takes an opinionated view of building production-ready Spring applications. Spring Boot favors convention over configuration and is designed to get you up and running as quickly as possible.
  • Spring Data JPA - Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories.
  • Spring Batch - A lightweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems.

Installation

  1. Clone this repository by running below command:

    $ git clone https://github.com/RawSanj/SpringRestBatch.git
    
  2. Register @ https://www.themoviedb.org/documentation/api and get your API key. Update the REST_API_URL_WITH_KEY key in src/main/resources/application.properties file with your obtained key.

  3. Start your local PostgreSQL database, configure the database properties in src/main/resources/application.properties file.

  4. Run this application using embedded Tomcat and PostgreSql DB Server:

    mvn spring-boot:run
    
Avatar
Sanjay Rawat
Cloud Developer

I’m interested in all Cloud Tech - AWS, Serverless, Docker, Kubernetes. Mostly write Java, Spring, Kotlin and Node.js code.