open-index/open-npm huggingface dataset:
npm package: @harperfast/template-react-studio
Description: Your new app is now deployed and running on Harper Fabric!
Latest version: 1.5.18

# your-project-name-here

Your new app is now deployed and running on Harper Fabric!

Here's what you should do next:

### Define Your Schema

1. Create a new [yourTableName.graphql](./schemas?ShowAddDirectoryOrFileModalType=file) file in the [schemas](./schemas) directory.
2. Craft your schema by hand or tap "+ New Table" in the action bar for a bit of guidance.
3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

These schemas are the heart of a great Harper app, specifying which tables you want and what attributes/fields they should have. Any table you `@export` stands up [endpoints automatically](./.agents/skills/harper-best-practices/rules/automatic-apis.md).

### Add Custom Endpoints

1. Create a new [greeting.js](./resources?ShowAddDirectoryOrFileModalType=file) file in the [resources](./resources) directory.

2. Customize your resource:

   ```javascript
   export class Greeting extends Resource {
   	static loadAsInstance = false;

   	async post(
   		target,
   		newRecord,
   	) {
   		// By default, only super users can access these endpoints.
   		return { greeting: 'Greetings, post!' };
   	}

   	async get(target) {
   		// But if we want anyone to be able to access it, we can turn off the permission checks!
   		target.checkPermission = false;
   		return { greeting: 'Greetings, get! ' + process.version };
   	}

   	async put(
   		target,
   		record,
   	) {
   		target.checkPermission = false;
   		if (this.getCurrentUser()?.name?.includes('Coffee')) {
   			// You can add your own authorization guards, of course.
   			return new Response('Coffee? COFFEE?!', { status: 418 });
   		}
   		return { greeting: 'Sssssssssssssss!' };
   	}

   	async patch(
   		target,
   		record,
   	) {
   		return { greeting: 'We can make this work!' };
   	}

   	async delete(target) {
   		return true;
   	}
   }
   ```

3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

### View Your Website

Pop open [http://localhost:9926](http://localhost:9926) to view [web/index.html](./web/index.html) in your browser.

### Use Your API

Head to the [APIs](./apis) tab to explore your endpoints and exercise them. You can click the "Authenticate" button to
see what different users will be able to access through your API.

Test your application works by querying the `/Greeting` endpoint:

```sh
curl http://localhost:9926/Greeting
```

You should see the following:

```json
{ "greeting": "Hello, world!" }
```

### Configure Your App

Take a look at the [default configuration](./config.yaml), which specifies how files are handled in your application.

## Keep Going!

For more information about getting started with Harper and building applications, see our [getting started guide](https://docs.harperdb.io/docs).

For more information on Harper Components, see the [Components documentation](https://docs.harperdb.io/docs/reference/components).
npm package: @harperfast/template-vanilla-studio
Description: Your new app is now deployed and running on Harper Fabric!
Latest version: 1.5.18

# your-project-name-here

Your new app is now deployed and running on Harper Fabric!

Here's what you should do next:

### Define Your Schema

1. Create a new [yourTableName.graphql](./schemas?ShowAddDirectoryOrFileModalType=file) file in the [schemas](./schemas) directory.
2. Craft your schema by hand or tap "+ New Table" in the action bar for a bit of guidance.
3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

These schemas are the heart of a great Harper app, specifying which tables you want and what attributes/fields they should have. Any table you `@export` stands up [endpoints automatically](./.agents/skills/harper-best-practices/rules/automatic-apis.md).

### Add Custom Endpoints

1. Create a new [greeting.js](./resources?ShowAddDirectoryOrFileModalType=file) file in the [resources](./resources) directory.

2. Customize your resource:

   ```javascript
   export class Greeting extends Resource {
   	static loadAsInstance = false;

   	async post(
   		target,
   		newRecord,
   	) {
   		// By default, only super users can access these endpoints.
   		return { greeting: 'Greetings, post!' };
   	}

   	async get(target) {
   		// But if we want anyone to be able to access it, we can turn off the permission checks!
   		target.checkPermission = false;
   		return { greeting: 'Greetings, get! ' + process.version };
   	}

   	async put(
   		target,
   		record,
   	) {
   		target.checkPermission = false;
   		if (this.getCurrentUser()?.name?.includes('Coffee')) {
   			// You can add your own authorization guards, of course.
   			return new Response('Coffee? COFFEE?!', { status: 418 });
   		}
   		return { greeting: 'Sssssssssssssss!' };
   	}

   	async patch(
   		target,
   		record,
   	) {
   		return { greeting: 'We can make this work!' };
   	}

   	async delete(target) {
   		return true;
   	}
   }
   ```

3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

### View Your Website

Pop open [http://localhost:9926](http://localhost:9926) to view [web/index.html](./web/index.html) in your browser.

### Use Your API

Head to the [APIs](./apis) tab to explore your endpoints and exercise them. You can click the "Authenticate" button to
see what different users will be able to access through your API.

Test your application works by querying the `/Greeting` endpoint:

```sh
curl http://localhost:9926/Greeting
```

You should see the following:

```json
{ "greeting": "Hello, world!" }
```

### Configure Your App

Take a look at the [default configuration](./config.yaml), which specifies how files are handled in your application.

## Keep Going!

For more information about getting started with Harper and building applications, see our [getting started guide](https://docs.harperdb.io/docs).

For more information on Harper Components, see the [Components documentation](https://docs.harperdb.io/docs/reference/components).
npm package: @harperfast/template-vue-studio
Description: Your new app is now deployed and running on Harper Fabric!
Latest version: 1.5.18

# your-project-name-here

Your new app is now deployed and running on Harper Fabric!

Here's what you should do next:

### Define Your Schema

1. Create a new [yourTableName.graphql](./schemas?ShowAddDirectoryOrFileModalType=file) file in the [schemas](./schemas) directory.
2. Craft your schema by hand or tap "+ New Table" in the action bar for a bit of guidance.
3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

These schemas are the heart of a great Harper app, specifying which tables you want and what attributes/fields they should have. Any table you `@export` stands up [endpoints automatically](./.agents/skills/harper-best-practices/rules/automatic-apis.md).

### Add Custom Endpoints

1. Create a new [greeting.js](./resources?ShowAddDirectoryOrFileModalType=file) file in the [resources](./resources) directory.

2. Customize your resource:

   ```javascript
   export class Greeting extends Resource {
   	static loadAsInstance = false;

   	async post(
   		target,
   		newRecord,
   	) {
   		// By default, only super users can access these endpoints.
   		return { greeting: 'Greetings, post!' };
   	}

   	async get(target) {
   		// But if we want anyone to be able to access it, we can turn off the permission checks!
   		target.checkPermission = false;
   		return { greeting: 'Greetings, get! ' + process.version };
   	}

   	async put(
   		target,
   		record,
   	) {
   		target.checkPermission = false;
   		if (this.getCurrentUser()?.name?.includes('Coffee')) {
   			// You can add your own authorization guards, of course.
   			return new Response('Coffee? COFFEE?!', { status: 418 });
   		}
   		return { greeting: 'Sssssssssssssss!' };
   	}

   	async patch(
   		target,
   		record,
   	) {
   		return { greeting: 'We can make this work!' };
   	}

   	async delete(target) {
   		return true;
   	}
   }
   ```

3. Save your changes.
4. Tap "Restart Cluster" and your changes will be live!

### View Your Website

Pop open [http://localhost:9926](http://localhost:9926) to view [web/index.html](./web/index.html) in your browser.

### Use Your API

Head to the [APIs](./apis) tab to explore your endpoints and exercise them. You can click the "Authenticate" button to
see what different users will be able to access through your API.

Test your application works by querying the `/Greeting` endpoint:

```sh
curl http://localhost:9926/Greeting
```

You should see the following:

```json
{ "greeting": "Hello, world!" }
```

### Configure Your App

Take a look at the [default configuration](./config.yaml), which specifies how files are handled in your application.

## Keep Going!

For more information about getting started with Harper and building applications, see our [getting started guide](https://docs.harperdb.io/docs).

For more information on Harper Components, see the [Components documentation](https://docs.harperdb.io/docs/reference/components).