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

https://github.com/appwrite-community/nuxt-ssr-auth


https://github.com/appwrite-community/nuxt-ssr-auth

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Nuxt SSR Authentication Demo

## Setup

Make sure to install dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

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

```bash
# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev
```
## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview
```

## Environment Variables

Create a `.env` file in the root directory:

```env
PUBLIC_APPWRITE_PROJECT=your_appwrite_project_id
PUBLIC_APPWRITE_ENDPOINT=your_appwrite_endpoint
APPWRITE_KEY=your_appwrite_api_key
```