Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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).