Git Product home page Git Product logo

spring-boot-3-example's Introduction

Spring Boot 3 - GraalVM

feature

๐Ÿ”จ Run the App

Maven

1 ) Download your project from this link shown below

    git clone https://github.com/Eukolos/spring-boot-3-example.git

2 ) Go to the project's home directory shown below

    cd spring-boot-3-example

3 ) Create native image though this command shown below

    mvn -Pnative spring-boot:build-image

4 ) Run the project though this command shown below

    docker-compose up

Used Dependencies

  • Core
    • Spring
      • Spring Boot 3
      • Spring Web
      • H2 Database
  • Docker
  • GraalVM CE Java 17-22.3.0

Create a Post

POST /v1/post
Accept: application/json
Content-Type: application/json
{
"title" : "GraalVM",
"body" : "uber fasttt",
}
RESPONSE: HTTP 200 (OK)
Location header: http://localhost:9090/v1/post

Get Post List

GET /v1/post
Accept: application/json
Content-Type: application/json
{

}
RESPONSE: HTTP 200 (OK)
Content: paginated list 
Location header: http://localhost:9090/v1/post

Get Post

GET /v1/post/{id}
Accept: application/json
Content-Type: application/json
{

}
RESPONSE: HTTP 200 (OK)
Content: paginated list 
Location header: http://localhost:9090/v1/post/{id}

Resource

spring-boot-3-example's People

Contributors

eukolos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.