Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mathix420/nuxt3-internal-app-starter

Create your business internal app in seconds. Deployed with Clouflare Workers and zero trust auth with Cloudflare Access.
https://github.com/mathix420/nuxt3-internal-app-starter

business cloudflare cloudflare-access cloudflare-workers dashboard serverless starter template zero-trust

Last synced: 3 months ago
JSON representation

Create your business internal app in seconds. Deployed with Clouflare Workers and zero trust auth with Cloudflare Access.

Awesome Lists containing this project

README

        

# Nuxt 3 Internal App Starter

Create a blazingly fast, zero-trust-authed business internal app in seconds. 🚀

Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.

## Deployment checklist

- [ ] [Fill missing fields](https://nitro.unjs.io/deploy/providers/cloudflare.html) in `wrangler.toml`
- [ ] Setup [Cloudflare Access](https://dash.teams.cloudflare.com//access/apps/add) rules on your domain
- [ ] [Install](https://developers.cloudflare.com/workers/cli-wrangler/install-update/#install) and [login](https://developers.cloudflare.com/workers/cli-wrangler/authentication/#using-commands) on wrangler cli
- [ ] Run `wrangler publish`

## Setup

Make sure to install the dependencies:

```bash
npm install
```

## Development Server

Start the development server on http://localhost:3000

```bash
npm run dev
```

## Production

Build the application for production:

```bash
npm run build
```

Locally preview production build:

```bash
npm run preview
```

Checkout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment) for more information.

## Linting

Lint files.
```bash
npm run lint
```

Fix files.
```bash
npm run lintfix
```

## Github Action

Generate a [Cloudflare API token](https://dash.cloudflare.com/profile/api-tokens) with following permissions:
```
All accounts - Workers R2 Storage:Edit, Workers Tail:Read, Workers KV Storage:Edit, Workers Scripts:Edit, Account Settings:Read
All zones - Workers Routes:Edit
All users - User Details:Read
```
Add it to your GitHub repo secrets below the name `CF_API_TOKEN`.