Bare minimum GraphQL server setup to start with.
- Run
$ git clone https://github.com/KumarAbhirup/demo-graphql <PROJECT_NAME>
$ cd <PROJECT_NAME>
$ npm i
$ npm run dev
- Visit
http://localhost:3001/graphql
In VSCode
- Install ESLint and Prettier VSCode extensions.
- Done! Now you have live linting and autofixing setup!
In Any other IDE
- Run
npm run lint
to check for linting errors. - Run
npm run lint:fix
to fix the linting errors.
- App uses the NodeJS boilerplate... For complete customization, refer this.
MIT - Source code by Kumar Abhirup