Code Monkey home page Code Monkey logo

ms-subscription's Introduction

Subscription Service Application


The service provides an API

SubscriptionAPI

  • Create subscriptions

How does the application works?

  • Application receives the requested via /v1/subscriptions url with {userId}, {productId}, {subscriptionType} in {createSubscriptionRequestDto} like request body.
  • Create subscriptions and send queue.

On the swagger page you can find the relevant api endpoint. You can reach the openapi page by http://localhost:8080/swagger-ui/index.html url.

Technologies


  • Java 17
  • Spring Boot 3.0
  • Open API Documentation
  • Spring Data JPA
  • PostgreSQL
  • Restful API
  • Docker
  • Docker Compose
  • RabbitMq

Prerequisites


  • Gradle or Docker

Docker Run

You can easily build and run the application using the Docker engine. Dockerfile multistage build setup. This means you don't have to perform the build and run steps separately.

Please follow the below directions in order to build and run the application with Docker Compose;

$ cd ms-subscription
$ docker-compose up -d

Docker compose creates PostgreSQL database instance with port 5432 and RabbitMq instance with port 15672


Maven Run

To build and run the application with Maven, please follow the directions below;

$ cd ms-subscription
$ ./gradlew clean build

$ ./gradlew bootRun

You can reach the swagger-ui via http://localhost:8080/swagger-ui/index.html


ms-subscription's People

Contributors

punhanalasgarov avatar alasgarovpunhan 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.