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
- Clone this repository by running below command:
$ git clone https://github.com/RawSanj/SpringRestBatch.git
-
Register @ https://www.themoviedb.org/documentation/api and get your API key. Update the
REST_API_URL_WITH_KEY
key insrc/main/resources/application.properties
file with your obtained key. -
Start your local PostgreSQL database, configure the database properties in
src/main/resources/application.properties
file. -
Run this application using embedded Tomcat and PostgreSql DB Server:
mvn spring-boot:run