Skip to content

Berengaar/ProjShoppingList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teleperformance Final Project

---Shopping List---

Technologies

Using Databases

Develop

RabbitMq

   docker run -d --hostname rabbit --name rabbit rabbitmq:3-management

MongoDb

   docker run --name mongodb -d -p 27017:27017 mongo

PostgreSql

    docker run --name <Container_Name> -e POSTGRES_PASSWORD=<ROOT_Password> -d -p 5432:5432 -v 

Docker

DockerCLI

    docker ps => for Lİsting container
   docker inspect {containerId} for container detail

Docker Containers

DockerContainers


DockerPs

Architecture

This project established with clean architecture.

  • Folder Src
    1. UI (Presentation)
    2. Application
    3. Infrastructure
    4. Domain
    5. BackgroundServices
  • Folder tests
    1. UI tests (unit)
    2. Integration tests

CleanArchitecture


UI

=> It is the layer where the endpoints are located. It is startup project. This is the part which requests are first met.

UI

Application

=> It is the abstraction layer.All dto's, interfaces, behaviours etc. are in this layer.


Application

Infrastructure

=> Is the layer where services are located. All services (with db or without) are in this layer. And this layer contains context objects.


Infrastructure

Domain

=> This is entities,value objects and enums layer.


Domain

Backgroundservices

=> If a list completed, the completed list pass to queue by producer. Later consumer reads queue and catch this data. After all, consumer write data to postgresql on api.

  • RabbitMq
    1. Producer
    2. Consumer

RabbitMq

Tests

UnitTest

=> Unit Testing is a way to test a unit, the smallest piece of code that can be logically isolated in a system.


TestUI

IntegrationTest

=> Integration testing aims to test whether different components (units) of the system work together correctly.


TestIntegrations

Databases

Sql Server

=> For standart entities

SqlRelations

PostgreSql

=> For completed list (admin)

Package Manager Console
 add-migration mig_AdminPostgreSql -context ProjShoppingListPostgreSqlDbContext 

 : We have to assign context name

Dbeaver


Dbeaver

MongoDb

=> For custom log on docker.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages