GithubHelp home page GithubHelp logo

johncrisostomo / aspnetcoregraphql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mmacneil/aspnetcoregraphql

0.0 2.0 0.0 41 KB

Sample project demonstrating a GraphQL service built with ASP.NET Core 2, Entity Framework Core and graphql-dotnet.

Home Page: https://fullstackmark.com/post/17/building-a-graphql-api-with-aspnet-core-2-and-entity-framework-core

License: MIT License

C# 100.00%

aspnetcoregraphql's Introduction

ASPNetCoreGraphQL

Sample project based on the blog post demonstrating how to build a GraphQL service powered by ASP.NET Core 2, Entity Framework Core and graphql-dotnet.

Development Environment

  • .NET Core 2.0 SDK
  • Visual Studio Code v1.21.1 (Should also work in VS2017)
  • Sql Server Management Studio 2017

Project Setup

The project is configured to create and seed 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 existing migrations to create the database by running dotnet 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 it here.

Contact

[email protected]

aspnetcoregraphql's People

Contributors

mmacneil avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.