Git Product home page Git Product logo

pagopa-spontaneous-payments's Introduction

Spontaneous Payments

PagoPA service for citizen/corporate spontaneous payments Quality Gate Status


Api Documentation ๐Ÿ“–

Spring application exposes API to manage the Spontaneous Payments.

See the OpenApi 3 here.

In local env typing following url on browser for ui interface:

http://localhost:8080/swagger-ui/index.html

or that for yaml version http://localhost:8080/v3/api-docs/


Technology Stack


Start Project Locally ๐Ÿš€

Prerequisites

Run docker container

Under main project folder typing : docker-compose up --build

NOTE : before that compile gpd service with mvn clean package command

If all right, eventually you'll see something like that:

...
...

Develop Locally ๐Ÿ’ป

Run

mvn spring-boot:run -Dspring-boot.run.profiles=local

Prerequisites

  • git
  • maven
  • jdk-11
  • docker
  • cosmosdb emulator

Run the project

The easiest way to develop locally is start only db container and run spring-boot application.

...

Configure Cosmos emulator

Launch the script in utilities folder:

To start CosmosDB

sh cosmos_start.sh <port> <java_home>

To init db/containers

python cosmos_init_db.py

NOTE : install pip install python-dotenv && pip install azure-cosmos and copy env file cp .env.exmaple .env

Testing ๐Ÿงช

Unit testing

Typing mvn clean verify, if all right you'll see following stuffs

Integration testing

Todo

Load testing

Todo

โœ‹ Manual testing

To emulate a paDemandPaymentNotice under utilities folder typing :

sh paDemandPaymentNotice.sh

Contributors ๐Ÿ‘ฅ

Made with โค๏ธ from PagoPa S.p.A.

Mainteiners

See CODEOWNERS file

pagopa-spontaneous-payments's People

Contributors

jacopocarlini avatar pasqualespica avatar alessio-acitelli avatar aomegax 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.