- Boilerplate setup
- Graphql boilerplate sample
- Module alias
- Dev tooling setup: EditorConfig, Prettier, ESLint
- Dependabot
- GH Action CI
- Apollo custom directive for resolver authentication
- API Rest support
- Node js => v10
- Install dependencies
yarn (or npm i)
- Run
yarn dev (or npm dev)
to run development server (will be available inhttp://localhost:9000
and GraphQL inhttp://localhost:9000/graphql
)
yarn start (or npm start)
: Run server in production modeyarn dev (or npm dev)
: Run server in development modeyarn build (or npm run build)
: Generate production build (files will be available onbuild
directory)yarn lint (or npm run lint)
: Run linter based on eslint configurationsyarn lint:fix (or npm run lint:fix )
: Run linter and fix errors