Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mingderwang/edge-test

template for edge on vercel
https://github.com/mingderwang/edge-test

edge template vercel

Last synced: 14 days ago
JSON representation

template for edge on vercel

Awesome Lists containing this project

README

        

# edge-test

To install dependencies: vercel

```bash
npm i -g vercel@latest
```

To run:

```bash
vercel dev
```

This project was created using `bun init` in bun v1.1.20. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

To test:

```bash
➜ curl http://localhost:3000/api/hello
Hello from dev1
```

To deploy:

```bash
vercel
```

To production:

```bash
vercel --prod
```

# reference

[https://vercel.com/docs/functions/quickstart](https://vercel.com/docs/functions/quickstart)