Skip to content

LeonardoMeireles55/Proposal-App-Messaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proposal App

This is a microservices application for managing proposals.

Table of Contents

Introduction

The Proposal App is a microservices application that allows users to create and manage proposals. It provides an API for creating new proposals, retrieving existing proposals, and sending notifications using RabbitMQ.

Technologies

The following technologies are used in this project:

  • Java
  • Spring Boot
  • RabbitMQ
  • PostgreSQL
  • Docker

Installation

To run the Proposal App locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/leonardomeirels55/proposal-app.git
  2. Configure the application properties:

    Open the application.properties file located in src/main/resources and update the database connection details and RabbitMQ configuration according to your environment or env in docker-compose.

  3. Run the application:

    docker compose up or docker-compose up

Usage

Once the application is running, you can access the API endpoints using a tool like Postman or cURL. Here are some example requests:

  • Create a new proposal:

    POST /proposal
    Content-Type: application/json
      {
      "nome": "leonardo",
      "sobrenome": "meireles",
      "telefone": "55999999",
      "cpf": "111.111.111.11",
      "renda": 100,
      "valorSolicitado": 1000,
      "prazoPagamento": 24
      }
    
  • Get all proposals:

    GET /proposal
  • Get a specific proposal:

    GET /proposal/{id}

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

About

This is a microservices application for managing proposals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages