Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 896 Bytes

File metadata and controls

21 lines (14 loc) · 896 Bytes

P4PlanAPI-NodeJS-Examples

Examples to explore the P4 Plan API using NodeJS.

GraphQL Client

  • Simple implementation of some useful queries and mutations to familiarize someone with P4Plan's API.

Dependencies

Quick Start

  • Download and install the dependencies npm ci
  • Rename example.env file to .env and modify the P4PLAN_API_HOST, P4PLAN_USERNAME and P4PLAN_PASSWORD in with your login details (for the examples to work, user must have ADMIN access).
  • With node index.js you can execute the go process which will connect to the API and run the requests