Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuxt-hub/starter
Full-stack application running on Cloudflare Pages, with zero configuration. Support D1, R2 and KV storages.
https://github.com/nuxt-hub/starter
cloudflare d1 fullstack kv nuxt nuxthub r2 vue
Last synced: 7 days ago
JSON representation
Full-stack application running on Cloudflare Pages, with zero configuration. Support D1, R2 and KV storages.
- Host: GitHub
- URL: https://github.com/nuxt-hub/starter
- Owner: nuxt-hub
- Created: 2024-02-27T19:51:05.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T10:07:59.000Z (2 months ago)
- Last Synced: 2024-09-15T12:34:57.937Z (2 months ago)
- Topics: cloudflare, d1, fullstack, kv, nuxt, nuxthub, r2, vue
- Language: Vue
- Homepage:
- Size: 694 KB
- Stars: 107
- Watchers: 3
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NuxtHub Starter Template
This starter lets you get started with [NuxtHub](https://hub.nuxt.com) in seconds.
- [Documentation](https://hub.nuxt.com)
## Features
- Image upload with [`hubBlob()`](http://hub.nuxt.com/docs/storage/blob)
- Save chat messages with [`hubDatabase()`](http://hub.nuxt.com/docs/storage/database)
- Save server redirects with [`hubKV()`](http://hub.nuxt.com/docs/storage/kv)
- Cache an API response with [`cachedEventHandler()`](https://hub.nuxt.com/docs/server/cache)
- Generate the API documentation with Scalar within the [NuxtHub Admin](https://admin.hub.nuxt.com)## Setup
Make sure to install the dependencies with [pnpm](https://pnpm.io).
```bash
pnpm install
```## Development Server
Start the development server on `http://localhost:3000`:
```bash
pnpm dev
```## Production
Build the application for production:
```bash
pnpm build
```Check out the [deployment documentation](https://hub.nuxt.com/docs/getting-started/deploy) for more information.
## Deploy
Deploy the application on the Edge with [NuxtHub](https://hub.nuxt.com) on your Cloudflare account:
```bash
npx nuxthub deploy
```Then checkout your server logs, analaytics and more in the [NuxtHub Admin](https://admin.hub.nuxt.com).
You can also deploy using [Cloudflare Pages CI](https://hub.nuxt.com/docs/getting-started/deploy#cloudflare-pages-ci).