• .NET
  • Welcome to Caro Online Repository

    Caro Online Game

    This is a Caro Online game

    Which technologies do we use?

    API Reference

    Get all items

      GET /api/user/authenticate
    Parameter Type Description
    loginRequest LoginRequest Required. Your API key

    appsettings.json in CaroAPI

    {
      "AllowedHosts": "*",
      "ConnectionStrings": {
        "CaroDatabase": "Data Source=<Your Server Name>;Database=<Your database name>;Integrated Security=True;"
      },
      "JWT": {
        "Key": "HFQ8GmeZwwXiX3LjU5ZL9ffBdUMJNDxL",
        "Issuer": "https://localhost:7118;",
        "Audience": "https://localhost:7118;"
      },
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft.AspNetCore": "Warning"
        }
      },
      "ApiContacts": {
        "Thai": {
          "Name": "Nguyen Hong Thai",
          "Url": "https://github.com/Slimaeus"
        }
      }
    }
    

    appsettings.json in CaroMVC

    {
      "Logging": {
        "LogLevel": {
          "Default": "Information",
          "Microsoft.AspNetCore": "Warning"
        }
      },
      "AllowedHosts": "*",
      "ConnectionStrings": {
        "GameSqliteDb": "DataSource=../Data/CaroGame.db"
      },
      "CaroAPIBaseUrl": "https://localhost:7118/api/",
      "JWT": {
        "Key": "HFQ8GmeZwwXiX3LjU5ZL9ffBdUMJNDxL",
        "Issuer": "https://localhost:7118;",
        "Audience": "https://localhost:7118;"
      }
    }

    Authors

    Github: https://github.com/Slimaeus/CaroOnline

    Để lại một bình luận

    Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

    1 mins