Skip to content

fastly/compute-starter-kit-javascript-empty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.