tbc-contacts-graphql-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i tbc-contacts-graphql-api

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

161 kB

Total Files

13

Last publish

Collaborators

  • nift