Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions learn/getting-started/create-your-first-application.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,36 @@ Click "Restart Cluster" to apply the new file changes.

</Tabs>

## Verifying the Table Was Created

Once Harper has started, confirm your `Dog` table was picked up from `schema.graphql` by running:

```bash
harper describe_database database=data
```

You should see YAML output describing the `Dog` table and its attributes:

```yaml
Dog:
schema: data
name: Dog
primary_key: id
attributes:
- attribute: id
type: ID
is_primary_key: true
- attribute: name
type: String
- attribute: breed
type: String
- attribute: age
type: Int
...
```

If the table is missing, double-check that `config.yaml` references the correct schema file and that Harper restarted after the file was saved.

## Enabling the REST API

Navigate back to the `schema.graphql` file and add `@export` directive to the table schema:
Expand Down