Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 639 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 639 Bytes

Express + GraphQL Starter with JWT Authentication

graphql

  1. After cloning the repo, create an .env file in the root path:
cp .env.example .env

  1. Install the necessary npm packages:
npm install

  1. Run the server in development mode:
npm run dev

  1. Run the provided queries that are stored into queries.graphql file that is located. Install a graphql client (ex. Altair GraphQL Client) and paste the queries from the file. altair Dont forget to provide the authorization header for accessing the protected query