An open API service indexing awesome lists of open source software.

https://github.com/fastly/compute-starter-kit-javascript-empty

Empty package template for JavaScript based Fastly Compute projects
https://github.com/fastly/compute-starter-kit-javascript-empty

compute-starter fastly-oss-tier1

Last synced: 6 months ago
JSON representation

Empty package template for JavaScript based Fastly Compute projects

Awesome Lists containing this project

README

          

# Empty Starter Kit for JavaScript

[![Deploy to Fastly](https://deploy.edgecompute.app/button)](https://deploy.edgecompute.app/deploy)

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](https://developer.fastly.com/solutions/starters)**

## 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:

```shell
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:

```shell
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.

```shell
npm run deploy
```

## Security issues

Please see our [SECURITY.md](SECURITY.md) for guidance on reporting security-related issues.