PsGraphqlTutorialJs

This repository contains the code used during the "Getting to know GraphQL" workshop.

Installation

  1. Clone this repository:
git clone https://github.com/PaquitoSoft/ps-graphql-tutorial-js.git
  1. Get into the root directory and install the dependencies
cd ps-graphql-tutorial-js

npm install

Local development

Run this command from the root directory

npm run dev

The command will start both the backend and the frontend:

Testing

You can use this commands to tests the projects:

# Run backend tests
npm run test:backend

# Run frontend tests
npm run test:frontend

# Run ALL tests
npm run test

Third party libraries

Here are the lists of the main libraries used in this project.

Backend

Frontend

Shared

  • jest: Tests runner