Skip to content

Latest commit

 

History

History
executable file
·
39 lines (31 loc) · 927 Bytes

File metadata and controls

executable file
·
39 lines (31 loc) · 927 Bytes

Spring-Boot-Rest-API

Welcome to the repository, This project was developed in Spring Boot. The project is a simple REST API using Spring Boot to perform CRUD operation on Student database.

  • Firstly, If you have not already installed Maven package manager.
sudo apt install maven
  • Then clone the repository
git clone https://github.com/akshatsoni64/Spring-Boot-Rest-API.git
  • Navigate to the Spring-Boot-Rest-API folder
cd Spring-Boot-Rest-API
  • Open Postgres DB and make a blank database called 'student'
CREATE DATABASE student;
  • Inside /src/main/resources update the database credentials in the application.properties file
spring.datasource.username= <username_here> 

spring.datasource.password= <password_here>
  • Install Maven dependencies for the project
mvn dependency:resolve
  • Fire-up the server
mvn spring-boot:run