Skip to content

SpringBoot demo with H2 database and couple of REST APIs

Notifications You must be signed in to change notification settings

amoldixit-Git/SpringBootDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpringbootDemo

SpringBoot demo with H2 database and couple of REST APIs

About Application

It's a simple java application using SpringBoot. This code was used for internal training and demonstration. It has the following.

  • SpringBoot skeleton to implement REST APIs
  • Uses H2 database along with JPA
  • Currently provides APIs to list and add entity called company
  • This code is also containerized and can be run in the docker. The link to directly run in Docker is here
IMPORTANT:
Please update the docker handle and repository (line #64) in pom.xml before build.

How to build

  • It's a maven project. So just need to run the standard maven commands.
  • For docker build and push use goals dockerfile:build and dockerfile:push in maven
  • Note: Docker needs to be installed on the machine wherer the build is happening.

Contributors

Thanks to

  • Amol Dixit for initializing the project and providing basic skeleton
  • Atul Mahajan for extending it to build the REST APIs and H2 database related back-end
  • Ajit Mahajani for containerization and documenting

About

SpringBoot demo with H2 database and couple of REST APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.9%
  • Dockerfile 4.1%