Serverside: ASP.Net Core API with HotChocolate GraphQL and MongoDB
Clientside: Reactjs with Apollo Client
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
- Microsoft Visual Studio 2022 - IDE
- Dotnet 6 - Framework
- MongoDB - DataBase Engine for store data
- Microsoft Visual Studio Code - IDE
- NPM - Package Manager
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
Run the below command to install dependencies and run project
Install Dependencies
npm install
Run Client Project
npm start
This project is a easy sample for GraphQL in Dotnet with MongoDB and there is no need to Deployed
- Mohsen Asadi - Initial work - MohsenAsadi
This project is licensed under the MIT License
- Storing data in mongoDB
- GraphQL Query, Mutation, Subscription Example
- Apollo Client