Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mingderwang/edge-test
- Owner: mingderwang
- Created: 2024-11-01T02:08:50.000Z (18 days ago)
- Default Branch: main
- Last Pushed: 2024-11-01T02:09:21.000Z (18 days ago)
- Last Synced: 2024-11-01T03:18:12.077Z (18 days ago)
- Topics: edge, template, vercel
- Language: TypeScript
- Homepage: https://edge-test-six-iota.vercel.app/api/hello
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)