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

https://github.com/mayashavin/azure-funcs-demo-nuxt


https://github.com/mayashavin/azure-funcs-demo-nuxt

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Nuxt Store Demo with Azure Serverless Functions

A demo store using Nuxt.js and Azure Serverless Functions.

## Tutorials

- [Adding Azure serverless APIs to a Nuxt app](https://mayashavin/articles/azure-serverless-functions-nuxt)

## Structure

- `api/` - Azure Functions
- `components/` - Vue components
- `layouts/` - Nuxt layouts
- `pages/` - Nuxt pages

## Setup

Make sure to install the 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 run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.