GitHub - fastly/compute-starter-kit-javascript-empty: Empty package template for JavaScript based Fastly Compute projects · GitHub
Skip to content

fastly/compute-starter-kit-javascript-empty

Folders and files

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.

About

Empty package template for JavaScript based Fastly Compute projects

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors