Giter VIP home page Giter VIP logo

backend-roles-api's Introduction

Roles API

Summary

This project is a Java SpringBoot microservice that spins up a REST API, called Roles API, to improve upon the capabilities of the Users API and the Teams API.

How to run

Docker

Requirements

  • docker
  • docker-compose

The solution can be executed with Docker and docker-compose. Since the build process needs to download all Maven dependencies it can take some time to start.

docker-compose up --build

This will execute tests, build the jar, build the docker image and start the container. The first execution will take longer since all maven dependencies will be downloaded. But next executions will run significantly faster as dependencies are downloaded in a separate layer, thus cached. The --build triggers the Docker image build if there is any change in the source code.

Build from source

Requirements

  • maven
  • java 11

To build, test, package, report and run execute the command:

mvn clean package verify spring-boot:run

To check the coverage open target/site/jacoco/index.html

How to develop

Spotless

To check for any code style issue

mvn spotless:check

To apply the fixes for code style issues

mvn spotless:apply

backend-roles-api's People

Contributors

glaydston 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.