Skip to content

a dotnetcore layered crud repository and unitofworks demo project

Notifications You must be signed in to change notification settings

serhatboyraz/dotnet-crud-repository

Repository files navigation

dotnet-crud-repository

a dotnetcore layered crud repository and unitofworks demo project now implemented graphql!

Dependency diagram:

dependencies

Startup

Set this environment parameters on your database server setting.

MYSQL_IP MYSQL_PORT MYSQL_USER MYSQL_PASWORD MYSQL_DB

And use default all migrations to your database server.

PM> Update-Database -StartupProject CrudRepositoryExample

Than database migrations applied, you can use demo api endpoints.

for example send to :

PUT http://localhost:8012/User

And content-type application/json body { "UserName" : "serhat.boyraz", "Password" : "123456" }

user-example-1 user-example-1

graphql

you can use this project graphiql screen. Go to http://localhost:8012/graphql/ and send this example query :

{ projects(status : 0){ title roles { userName } } }

user-example-1

you can access the example postman requests this link :

https://documenter.getpostman.com/view/2234009/S1M3v5FN?version=latest

enjoy!

About

a dotnetcore layered crud repository and unitofworks demo project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages