Skip to content

A Simple CRUD API using Spring Boot Application using PostgreSQL Database

Notifications You must be signed in to change notification settings

hendisantika/kotlin-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Kotlin PostgreSQL

Open your terminal then type this :

mvn clean spring-boot:run

Open your browser :

  1. Save Data

    http://localhost:8080/save

  2. Find All

    http://localhost:8080/findAll
    
     [
        {
            "firstName": "Hendi",
            "lastName": "Santika",
            "id": 1
          },
          {
            "firstName": "Uzumaki",
            "lastName": "Naruto",
            "id": 2
          },
          {
            "firstName": "Uchiha",
            "lastName": "Sasuke",
            "id": 3
          },
          {
            "firstName": "Haruno",
            "lastName": "Sakura",
            "id": 4
          },
          {
            "firstName": "Hatake",
            "lastName": "Kakashi",
            "id": 5
          }
     ]
    
    
  3. Find By Id

    http://localhost:8080/findById/1

  4. Find By Lastname

    http://localhost:8080/findByLastname/Kakashi

About

A Simple CRUD API using Spring Boot Application using PostgreSQL Database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages