KostaLaz / demo

My first Spring Boot priject. Building an Api using Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo

My first Spring Boot project. Building a RESTApi using Spring Boot

Built With

  • Maven - Dependency Management
  • Flyway - Version control for database
  • JDK - Java™ Platform, Standard Edition Development Kit
  • Spring Boot - Framework to ease the bootstrapping and development of new Spring Applications
  • PostgreSQL - Open-Source Relational Database Management System
  • git - Free and Open-Source distributed version control system
  • Lombok - Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.

External Tools Used

  • Postman - API Development Environment (Testing Docmentation)

Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.arc.sbtest.SBtemplateApplication class from your IDE.

  • Download the zip or clone the Git repository.
  • Unzip the zip file (if you downloaded one)
  • Open Command Prompt and Change directory (cd) to folder containing pom.xml
  • Open IDE
    • File -> Import -> Navigate to the folder where you unzipped the zip
    • Select the project
  • Choose the Spring Boot Application file (search for @SpringBootApplication)
  • Right Click on the file and Run as Java Application

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

About

My first Spring Boot priject. Building an Api using Spring Boot


Languages

Language:Java 100.0%