Sarath191181208 / Simple-REST-app-using-SpringBoot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple REST Server using SpringBoot

A simple rest server using spring boot coded form following the youtube video of AmigosCode. The video can be found here: Spring Boot Tutorial | Full Course [2022] [NEW]. With a changes and imporvements form myself I created this REST server which performs CRUD (Create, Read, Update, Delete) operations on a Data Base & returns the information using an api.

Technologies used:

  • Java
  • Maven
  • Spring
  • SpringBoot
  • Lombok
  • jpa
  • Postgres
  • Docker
  • Git & Github
  • cmd script

Screenshot

Json output of the api Json output of the api

References

Installation

  • Make sure to install

    • Java
    • Maven
    • Docker
  • To run the postgres server using docker

docker compose up -d

The configuration is given in ./src/main/resources/application.properties configure the database accordingly (or) change the required credentials

  • To install dependencies
./mvnw install -f ./pom.xml
  • To run the server
mvn spring-boot:run

About


Languages

Language:Java 97.2%Language:Batchfile 2.8%