Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 929 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 929 Bytes

qontract-server

qontract (Queryable cONTRACT) is a collection of tools used to SREs to expose available managed services to application developer teams. This repository compromises the server component, which is implemented as a GraphQL API.

Development Environment

Although it is not required, it's recommended that you use yarn for install dependencies and running development scripts.

To install this projects dependencies to a local node_modules directory:

yarn install

To run a process that watches for edits and rebuilds JavaScript:

yarn run dev

To run an instance of the qontract GraphQL console:

LOAD_METHOD=fs DATAFILES_FILE=your_test_datafile yarn run server

All code should follow the airbnb style guide, which is enforced by this projects lint script:

yarn run lint