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

hayalpc/DHMiniSite

Repository files navigation

DHMiniSite

  • MongoDB configuration in appsettings.json
  "DHMiniSiteDatabase": {
    "ConnectionString": "mongodb://localhost:27017",
    "DatabaseName": "dh_mini_site",
    "PostsCollectionName": "posts",
    "CommentsCollectionName": "comments"
  }
  • Endpoint configuration in appsettings.json
"Kestrel": {
    "Endpoints": {
      "Https": {
        "Url": "https://*:8001"
      },
      "Http": {
        "Url": "http://*:8000"
      }
    }
  }
  • RabbitMQ configuration in appsettings.json
  "RabbitMQConfiguration": {
    "HostName": "localhost",
    "Password": "guest",
    "UserName": "guest"
  }

DHRabbitMQConsumer

  • SMTP configuration in appsettings.json
  "SmtpConfig": {
    "Host": "smtp.yandex.com.tr",
    "Port": "465",
    "User": "[email protected]",
    "From": "[email protected]",
    "Password": "qmjiabczulimuyva",
    "UseSSL": "true"
  }
  • RabbitMQ configuration in appsettings.json
  "RabbitMQConfiguration": {
    "HostName": "localhost",
    "Password": "guest",
    "UserName": "guest"
  }

Build And Run

  • For DHMiniSite project
cd DHMiniSite
dotnet build
dotnet run
  • For DHRabbitMQConsumer project
cd DHRabbitMQConsumer
dotnet build
dotnet run

Some Screenshots

  • Home page This is an image
  • Posts This is an image
  • Post detail with comment This is an image
  • Post edit This is an image
  • Comments This is an image

About

DH Mini Site Test Case

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published