Giter Site home page Giter Site logo

iuryamaral1 / oli-saude-backend-challenge Goto Github PK

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

The aim of this project is to implement oli saude backend challenge for study purposes.

Kotlin 99.58% Dockerfile 0.42%
docker docker-compose github-actions kotlin postgresql sonarcloud spring-boot spring-data-jpa swagger testcontainers

oli-saude-backend-challenge's Introduction

Oli Saúde|100x397,20%

✨Oli Saúde Backend Challenge✨

.github/workflows/main.yml Sonarcloud Status Code Coverage Reliability Security Maintainability Duplicated Lines (%) Lines of Code Technical Debt Vulnerabilities Bugs Code Smells

-----------------------------------------------------

📖 Table of Contents

-----------------------------------------------------

📌 Description

The aim of this repository is to implement Oli Saúde Backend Challenge using the best practices for study purposes.

-----------------------------------------------------

🔥 Business Requisites

To better understand the business requisites of this challenge, please visit this link.

-----------------------------------------------------

🏢 Architecture

The application is built using the Clean Architecture, which is an architecture that aims to separate the business logic from the outside world, making the application more testable and maintainable. For more information about the Clean Architecture, you can read this article by Uncle Bob.

-----------------------------------------------------

💎 Package Structure

./src/main/kotlin/com/oli/saude/challenge
├── application.usecases
│   └── clients
│   └── health_problems
├── domain
│   └── exception
│   └── models
│   └── repository
├── gateways
│   └── persistence
│   └── web
  • application.usecases contains the use cases of the application, which are the business logic of the application.
  • domain contains the domain models, the domain exceptions and the domain repository interfaces.
  • gateways contains the interfaces that are used to communicate with the outside world, like the database and the web.

-----------------------------------------------------

💻 Technologies

Kotlin Badge Spring Boot Badge Spring Data JPA Badge Docker Badge PostgreSQL Badge Docker Compose Badge Testcontainers Badge Swagger Badge Gradle Badge SonarCloud Badge GitHub Actions Badge

-----------------------------------------------------

🚀 How to run

./gradlew bootRun - Runs the application

./gradlew test - Runs the tests

./gradlew build - Builds the application

docker-compose up - Runs the application with Docker Compose

-----------------------------------------------------

🐳 How to run with Docker Compose

$ docker-compose up -d

-----------------------------------------------------

📝 Documentation

When application is started, then you may go to: http://localhost:8080/swagger-ui/index.html/

-----------------------------------------------------

📈 SonarCloud

This project is integrated with SonarCloud. You can check the status of the project here.

-----------------------------------------------------

👲 CI/CD

This project is integrated with GitHub Actions. You can check the status of the project here.

-----------------------------------------------------

📝 Further documentation

-----------------------------------------------------

📱Contact

LinkedIn Badge Gmail Badge

-----------------------------------------------------

To Do List

  • Create a client
  • Update a client
  • Get specific client
  • Get all clients
  • Add client's health problems
  • Remove client's health problems
  • Create endpoint to get the top 10 clients with more health problems

oli-saude-backend-challenge's People

Contributors

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