1.0.1 • Published 6 years ago

tbc-contacts-graphql-api v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Service Graphql Boilerplate

This project serves as a boilerplate implementation of a service which needs to support GraphQL.

To run the project you need to run the following to install everything:

    yarn
    npm install

And then run the following to run the application server:

    npm|yarn run dev

Project structure

The project has the following structure, which must be followed, inside the src folder.

- src/
|   - framework
|   - features
|       - featureName1
|       - featureName2

Features should never use code from each others 'folders'. They are only allowed to use the code in framework.

For a more detailed walkthrough visit nuclino: Code structure

Further development

Firstly you should remove the books schema and feature

Dependencies

  • Fastify
  • Fastify GraphQL
  • TypeScript

Notes

  • The code takes some time to compile from ts to js so changes may not reflect immediately