Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

fiap-net-group/graduation-phase-four

Repository files navigation

Graduation's Phase Four Project

Build Status Quality Gate Status Coverage Vulnerabilities Bugs Security Rating Code Smells

Post-graduation second phase project

The project

The project is about a notification system, with an event-driven architecture used with api and workers

Build and Test

# [IMPORTANT]:
# You need to have .NET 6 installed in your computer
# You also need to be at the same folder as the solution file (.sln)

# First, restore the dependencies
dotnet restore

# After, build the application
dotnet build

# If want to execute the application tests
dotnet test

Running the project

Follow these steps to run the project locally.

# [IMPORTANT]:
# You need to have Docker installed in your computer
	
# Execute all APIs and workers for production
docker-compose -f docker/docker-compose.yml up --build 

# Execute an instance of RabbitMq and all APIs and workers for staging
	docker-compose -f docker/docker-compose-staging.yml up --build

# Execute the instance of RabbitMq for development tests
docker-compose -f docker/docker-compose-develop.yml up --build

Help links

Link Description
Web-Queue-Worker architecture style Explains the client-worker relation
Worker services in .NET Structure for workers
Email sending flow The drawing of the email sending flow

Wiki

Access our Wiki for more information!