This project is built on node.js using express,graphQL and mongoDB as dependencies.
- Create Project on Mongo Cloud
- Open MongoDB Cloud in your browser.
- Click on
New Project - Give some name to your project
- Click
Create Project - Create cluster
Build a Cluster - Choose a server which is most near to you.
- Create a user for database by navigating to
Database Accesstab in the left panel - Add your IP address by clicking on
Network Accesstab and chooseADD CURRENT IP ADDRESS - Get URI to connect to your database from
Cluster>Connect
- Requirements
- Git Install Git.
- Nodejs Install Nodejs.
- Project at MongoDB Cloud.
- Clone the repo.
git clone https://github.com/mkamranhamid/graphql-mongo-starter myprojectcd myprojectnpm install
- Start Project
npm start- Open
localhost:3000/graphqlin your browser