Skip to content

snoozemo/PhantomChannel.Server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo


Phantom Channel: 以投票为主题的网络社区软件-服务端

/* appsettings.Development.json */
{
    // ......
    "ConnectionStrings": {
        // ......
        "DefaultConnection": "Server=localhost;Port=5432;Database=database_name;User Id=postgres;Password=password;",
        "EmailConnection": "Host=host,Port=port,UserName=account,Password=password"
    },
    "AllowedHosts": "*",
    "Jwt": {
        "Key": "key_",
        "Issuer": "Issuer_",
        "Audience": "Audience_",
        "ExpireMinutes": 20160
    }
}
# Code First
dotnet ef migrations add [xxxxx] -p src/PhantomChannel.Server.Infrastructure -s src/PhantomChannel.Server.Api
# Push Migration
dotnet ef database update -p src/PhantomChannel.Server.Infrastructure -s src/PhantomChannel.Server.Api
# Cli Startup
dotnet watch run --project   .\src\PhantomChannel.Server.Api\PhantomChannel.Server.Api.csproj --environment  development

目录结构

.
├── src
│   ├── PhantomChannel.Server.Api
│   ├── PhantomChannel.Server.Application
│   ├── PhantomChannel.Server.Domain
│   ├── PhantomChannel.Server.Infrastructure

About

phantom-channel.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%