Skip to content

A repository with a service for managing users. This repository is part of Microservice Reference Framework.

License

Notifications You must be signed in to change notification settings

MichalMoudry/mrf-user-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Reference Framework logo

User service

A repository with a service for managing users. This repository is part of Microservices Reference Framework.

Build and test project Deploy to Azure

Project structure

  • /src - Folder with all the source/test code related to this service.
    • /cmd - Folder with service's entrypoints.
    • /internal
      • /transport
      • /service
      • /config
  • /.dapr - Folder with Dapr components for local deployment.
  • /.azure - Folder containing definitions for Azure resources.
  • /assets - Folder with repository's assets that are not part of the source code.

Service architecture

This section describes architecture of this particular service and not the entire system.

Note: Arrows in the diagram below display direction of dependencies between layers. This project utilises Inversion of Control pattern for many component, layers including.

---
title: "Layers of the workflow service"
---
classDiagram
    class transport["Transport layer"]
    click transport href "https://github.com/MichalMoudry/mrf-workflow-service/tree/main/transport" "Go to transport layer package"
    class service["Service layer"]
    transport <-- service

    note for transport "validates requests\nparses request content\ncontains HTTP middleware\nrequest & response contracts"
    note for service "contains business logic\nhandles commiting transactions\nhandles rolling back of transactions\n..."
Loading

Note: This is a stateless service, so there is no persistance layer/database.

Getting started

There are two way to run this service, running it locally or deploying it to the cloud.

Running locally

Deploy to Azure

Used technologies

  • Dapr
  • chi
  • Docker
  • PostgreSQL

About

A repository with a service for managing users. This repository is part of Microservice Reference Framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published