GraphQL server on Node using Express and connect to Mongo DB using Mongoose.
File/Folder | Description |
---|---|
index.html | The main HTML file |
index.js | GraphQL Express Server |
graphql | Folder related to graphQL Schema. |
model | Folder related to Mongoose(mongodb) Schema and Model |
-
Run
npm start
to start dev mode . -
Once the server is up, go to browser and run http://localhost:3000/.
- Write Gulp task for build in production
- use Express Middlewares (Passport , cors , multer etc .)
- Use MongoDb geospatial query with graphQl
- Make it CRUD .
- Add more query, mutation , subscription with GrahQl.