Stucco JS
Schema first GraphQL Server Library
Last updated
Was this helpful?
Schema first GraphQL Server Library
Last updated
Was this helpful?
Stucco-js is a JavaScript/TypeScript runtime for Stucco. It can be used as a local development environment or as a base library for implementing a FaaS runtime.
Stucco-js
relies on the library written in GoLang. The configuration file format is in JSON.
Using TypeScript
If you have your TypeScript files in the src folder you should transpile them to the lib folder and Stucco can run it from there.
Add this script to your package json to test your backend:
or simply run with npx via:
To start local development you need a folder with: stucco.json
, schema.graphql
and a file with resolvers in the root folder. To fetch your schema from the URL you can use a tool like .