https://github.com/samk-dev/nuxt-appwrite-node
Nuxt appwrite-node example
https://github.com/samk-dev/nuxt-appwrite-node
Last synced: over 1 year ago
JSON representation
Nuxt appwrite-node example
- Host: GitHub
- URL: https://github.com/samk-dev/nuxt-appwrite-node
- Owner: samk-dev
- Created: 2024-06-06T20:46:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T18:49:39.000Z (about 2 years ago)
- Last Synced: 2025-03-27T02:08:29.256Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt `appwrite-node` example
Test driving Appwrite with Nuxt/Nitro
## Install deps
```bash
pnpm install
```
## Create `.env` file
```bash
cp env-example.txt .env
```
## Set `.env` variables
```conf
### PUBLIC RUNTIMECONFIG
NUXT_PUBLIC_APP_DOMAIN=http://localhost:3000
NUXT_PUBLIC_API_PATH=api/v1
### PRIVATE RUNTIMECONFIG
NUXT_APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1
NUXT_APPWRITE_PROJECT=your-project-id
NUXT_APPWRITE_API_KEY=api-key-with-at-least-session-create-permission
NUXT_APPWRITE_COOKIE_NAME=a_session
NUXT_APPWRITE_BUCKET_SSR=your-bucket-id
```