Coder Social home page Coder Social logo

ismkdc / telephonedirectory Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 3.0 72 KB

TelephoneDirectory is a microservice-based application for managing a directory of telephone numbers. It consists of two microservices: contract and report, and a consumer.

C# 100.00%

telephonedirectory's Introduction

TelephoneDirectory is a microservice-based application for managing a directory of telephone numbers. It consists of two microservices: contract and report, and a consumer. The contract microservice is responsible for managing the telephone directory data and exposes a REST API for creating, reading, updating, and deleting entries in the directory. The report microservice is responsible for generating reports based on the directory data and also exposes a REST API for requesting reports. The consumer is a background worker that listens for messages on a message queue and processes them. In this case, it listens for requests for reports and generates them using the report microservice.

This application is built using ASP.NET Core and can be easily deployed using Docker and Docker Compose. It also includes a database and message queue for storing and processing data.

Features

  • Create, read, update, and delete entries in the telephone directory
  • Generate reports based on the directory data
  • Asynchronous processing of report requests using a message queue
  • Deployable as a set of Docker containers

Prerequisites

  • Docker and Docker Compose

Running the Application

To start the application, execute the following command in the root directory of the project:

docker-compose -f docker-compose-prod.yml up --build -d

You can then access the following URLs:

Credentials

  • RabbitMQ GUI: username: guest, password: guest
  • Adminer (database GUI): server: postgres, username: phonedirectory_usr, password: PZLqwVFf8YkwqRhq?PZLqwVFf8Y_prod, database name: phonedirectory_db

Development

To run the application in development mode, execute the following command in the root directory of the project:

docker-compose -f docker-compose-dev.yml up --build

This will start the microservices and their dependencies with hot reloading enabled.

telephonedirectory's People

Contributors

ismkdc avatar

Stargazers

Efe Baslilar avatar  avatar Murtada Hasan avatar Abdulkadir KG avatar Randy Ammar avatar  avatar Onur İnci avatar Nermin Kaya avatar  avatar Emre AKA avatar Abdullah Öztürk avatar Fatih Sarıdağ avatar Emine Bakir avatar EMRE ÇİÇEK avatar Rustu Efe Uzun avatar zeynep öztürkmen avatar  avatar Gökhan Gürsoy avatar Burak Esen avatar Enes Aysan avatar Fırat Çelik avatar Umut Oku avatar Can Sözbir avatar Eren YILMAZ avatar

Watchers

 avatar Enes Aysan avatar Engin Korkmaz 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.