open-index/open-npm huggingface dataset:
npm package: @plutobook/local-client
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Latest version: 2.1.0

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
npm package: @plutocms/supabase
Description: This layer integrates Supabase as a backend service for Pluto CMS, providing a robust and scalable solution for managing content and data.
Latest version: 0.0.1-alpha.17

# Supabase Layer for Pluto CMS

This layer integrates Supabase as a backend service for Pluto CMS, providing a robust and scalable solution for managing content and data.

## Installation

> [!NOTE]
> Make sure you have a Supabase project set up. You will need the project ID, URL, and API key. You can find these in your [Supabase dashboard](https://supabase.com/dashboard).

1. Create a `.env` file in the root of your project and add the following environment variables:

```env
SUPABASE_URL=your-supabase-url
SUPABASE_KEY=your-publishable-supabase-key
```

2. Add the `@nuxtjs/supabase` and `supabase` dependencies to your project:

```bash
## NPM
npm i @nuxtjs/supabase supabase

## Yarn
yarn add @nuxtjs/supabase supabase

## PNPM
pnpm add @nuxtjs/supabase supabase

## Bun
bun add @nuxtjs/supabase supabase
```

3. Include the Pluto Supabase layer via `extends` option in your `nuxt.config.ts`:

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  extends: [['github:plutocms/supabase', { install: true }]],
})
```

## Features

### Composables

This layer provides the following composables:

- `useAuth`: Manage user authentication with Supabase.

### API Routes

The layer includes API routes for interacting with Supabase services, such as authentication and media management.

- GET `/api/settings`
- POST `/api/settings/update`
- POST `/api/auth/signup`

### Types

- `Database`: Auto-imported type definitions for Supabase database interactions.
npm package: @plutocms/supabase-shop
Description: This layer provides e-commerce functionalities upon [`@plutocms/supabase`](https://github.com/plutocms/supabase) layer.
Latest version: 0.0.1-alpha.21

# E-commerce layer for Pluto CMS with Supabase

This layer provides e-commerce functionalities upon [`@plutocms/supabase`](https://github.com/plutocms/supabase) layer.

## Installation

Install the `supabase-shop` layer and include it via `extends` option in your `nuxt.config.ts`, it should come after the `@plutocms/pluto` and `@plutocms/supabase` layers:

```bash
# npm
npm i @plutocms/supabase-shop

# yarn
yarn add @plutocms/supabase-shop

# pnpm
pnpm add @plutocms/supabase-shop

# bun
bun add @plutocms/supabase-shop
```

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  extends: [
    '@plutocms/pluto',
    '@plutocms/supabase',

    // Make sure to add this layer after the Pluto and Supabase layers
    '@plutocms/supabase-shop',
  ],
})
```

## Features

### Dashboard views

This layer provides the following dashboard views for managing products:

- `/admin/products`: view a list of products.
- `/admin/product/new`: create a new product.
- `/admin/product/edit/:id`: edit an existing product.

### Composables

This layer provides the following composables:

- `useProductAvailability`: retrieves a list of product availability statuses (in stock, commission, etc.).
- `useProduct`: retrieves a list of products or a single product by ID.
- `useProductCategory`: retrieves a list of product categories.

### API Routes

The layer includes API routes for interacting with Supabase services, such as creating, editing, deleting, and fetching products:

- DELETE `/api/product/delete/:id`
- POST `/api/product/edit/:id`
- GET `/api/product/get/:id`
- GET `/api/product/availability-statuses`
- GET `/api/product/list`
- POST `/api/product/create`

### Types

- `ProductData`: Auto-imported for product data API response.
- `ProductItem`: Auto-imported type representing a product item.
npm package: @plutocms/ui
Description: Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
Author: Victor Ribeiro
Latest version: 0.0.1-alpha.4

# Nuxt Minimal Starter

Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## 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
```

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