Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.09 KB

File metadata and controls

31 lines (19 loc) · 1.09 KB

Empty Starter Kit for JavaScript

Deploy to Fastly

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

Running the application

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

Security issues

Please see our SECURITY.md for guidance on reporting security-related issues.