You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@faststore/api

Package Overview
Dependencies
Maintainers
13
Versions
505
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faststore/api

FastStore API Connect to your favorite ecommerce platform

1.5.5
npmnpm
Version published
Weekly downloads
0
Maintainers
13
Weekly downloads
 
Created
Source

Faststore

FastStore API

Connect to your favorite ecommerce platform

Installation

From the command line in your project directory, run yarn add @faststore/api.

yarn add @faststore/api

Usage

With servers like express:

import { execute } from 'graphql'
import { getSchema } from '@faststore/api'

import express from 'express'

const app = express()

app.get('/graphql', async (req, res) => {
  const { query, operationName, variables } = req.body

  const result = await execute({
    schema: await getSchema(),
    variableValues: variables,
    operationName
  })

  res.status(200)
  res.send(result)
})

Docs

For more information, please refer to our documentation: https://faststore.dev/reference/api/faststore-api

FAQs

Package last updated on 09 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts