An empty application template for the Fastly Compute environment which returns a 200 OK response.
For more details about other starter kits for Compute, see the Fastly developer hub
To create an application using this starter kit, create a new directory for your application and switch to it, and then type the following command:
npm create @fastly/compute@latest -- --language=javascript --starter-kit=empty
To build and run your new application in the local development environment, type the following command:
npm run start
To build and deploy your application to your Fastly account, type the following command. The first time you deploy the application, you will be prompted to create a new service in your account.
npm run deploy
Please see our SECURITY.md for guidance on reporting security-related issues.