This is a Command getter CURD app built using GraphQL and DotNet 5
Spin up the Docker SQL Server or Use the Local instance
docker-compose up -drun the docker command at root level, Connection string for docker instance
"Server=localhost,1433;Database=GraphQL;User Id=sa;Password=pa55w0rd!"dotnet ef database update [if using VS Code]
update-database [if using Visual Studio]dotnet build
dotnet run
F5 if using VShttp://localhost:5000/graphql/
http://localhost:5000/graphql-voyager query{
platform {
id
name
}
}mutation{
addPlatform(input: {
name: "RedHat"
})
{
platform {
id
name
}
}
}subscription{
onPlatformAdded{
id
name
}
}- Implement Data Loader Pattern
- Use Relay Pattern