- Notifications
You must be signed in to change notification settings - Fork119
Sample project demonstrating a GraphQL service built with ASP.NET Core 2.2, Entity Framework Core and graphql-dotnet.
License
mmacneil/ASPNetCoreGraphQL
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Sample project based onthe blog post demonstrating how to build a GraphQL service powered by ASP.NET Core 2.2, Entity Framework Core andgraphql-dotnet.
- .NET Core 2.2 SDK
- Visual Studio Code v1.21.1 (Should also work in VS2017)
- Sql Server Management Studio 2017
The project is configured to create andseed the database at runtime if necessary so there shouldn't be any initial setup required. Simply start the debugger from the IDE or run it directly using the CLI dotnet run command from the root of the \NHLStats.Api folder.
After running the project, verify the database was created in your local Sql Server LocalDB instance.
Alternatively, you can also apply the existingmigrations to create the database by runningdotnet ef database update from the \NHLStats.Data folder. The seed data will be inserted on first run of the application.
The API is configured to run on port 5000, if this conflicts with some other service on your computer you can change ithere.
About
Sample project demonstrating a GraphQL service built with ASP.NET Core 2.2, Entity Framework Core and graphql-dotnet.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.

