Skip to content

Nivisan-Jeyananthan/CleanGraphQL

Repository files navigation

CleanGraphQL

Minimalistic Cleanarchitecture based project with graphql.

Has 1 Get and 1 Create Operation

Setup

CLI : Execute "dotnet ef database update" inside the Mediator.Api project.

VS : Open the solution and execute "update-database" inside the package manager console.

Usage

Open the following path in your browser or in a graphql playground app: https://localhost:7075/graphql

First you'll need to create a user with the following mutation :

 mutation testMutation {
    add(command: {
      email: "test"
      firstName: "1234"
      lastName: "myname"
      password: "1234"
      username: "goodUser"
    }
  )
}

You can execute the following query to test the creation of the user :

query testQuery {
  userByKey(input: { id: 1 }) {
      username
   }
 }

About

Cleanarchitecture based project with graphql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages