Skip to content

mohsenasadi501/GraphqlSampleApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

GraphQL with HotChocolate & Apollo

Serverside: ASP.Net Core API with HotChocolate GraphQL and MongoDB

Clientside: Reactjs with Apollo Client

Getting Started

Clone the repository to your local machine or download project zip file to your local machine.

For running this project you need the following items to Installed on your local machine

Serverside Prerequisites

Clientside Prerequisites

Serverside Installing

Run the below command to restore, build and run the project

Restore the nuget packages

dotnet restore

Buid the project

dotnet build

Run Server Project

dotnet run

Clientside Installing

Run the below command to install dependencies and run project

Install Dependencies

npm install

Run Client Project

npm start

Deployment

This project is a easy sample for GraphQL in Dotnet with MongoDB and there is no need to Deployed

Authors

License

This project is licensed under the MIT License

Acknowledgments

  • Storing data in mongoDB
  • GraphQL Query, Mutation, Subscription Example
  • Apollo Client