Giter Site home page Giter Site logo

pio-trek / quarkus-bookstore-back Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 35 KB

[Quarkus] REST API a real-world example

License: Apache License 2.0

Java 94.02% HTML 5.98%
quarkus rest api real-world webservice swagger openapi hibernate panache jpa

quarkus-bookstore-back's Introduction

BookStore Quarkus Project

This project can be used as a real-world example of the REST API. It uses Quarkus, the Supersonic Subatomic Java Framework ๐Ÿš€

Running the application

./mvnw quarkus:dev

or using own maven installation:

./mvn quarkus:dev

Swagger and OpenAPI

Datasource and persistence

The project is using the H2 in-memory database with Hibernate Panache ORM.

Security

For all REST API calls a basic authentication must be used. All user's passwords stored in the database are hashed using bcrypt.

Technical user credentials: TU001 / passw0rd

Integration tests

Code is tested using JUnit5 with line coverage of 96%. For the test, the initial SQL script is loaded and the test user is added to a temporary database.

quarkus-bookstore-back's People

Contributors

pio-trek avatar

Watchers

 avatar

Forkers

naveenc0505

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.