Skip to content

Commit

Permalink
Hotfix: getting started inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjdominguez committed May 28, 2024
1 parent 8318be6 commit 7fd7cb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
9 changes: 3 additions & 6 deletions docs/getting-started/1-create-a-project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ To start, we'll walk you through the steps to:

Throughout this guide, you'll be introduced to new Hasura concepts, like builds, our new metadata structure, and more.


**If you've landed here from Hasura DDN after creating a project via the Console (our GUI), you can replace the project
name in the `hasura.yaml` at the root of the local project you're about to create with the name of the project you
name in the `hasura.yaml` at the root of the local project you're about to create with the name of the project you
created on Hasura DDN. From there, you can follow the rest of the steps below!**



:::tip What's about to happen?

We'll create a **project** on Hasura DDN, which is fully defined in metadata files using a simple directory structure.
Expand Down Expand Up @@ -295,12 +292,12 @@ query OrdersQuery {
id
status
deliveryDate
users {
user {
id
name
email
}
products {
product {
id
name
}
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/3-add-custom-business-logic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ddn dev

## Step 2: Navigate to the TypeScript connector

Inside of the `/app/ts_functions` directory we can find all the files the CLI generated, including
Inside of the `/app/ts_connector` directory we can find all the files the CLI generated, including
`connector/functions.ts` which will contain our custom logic:

```bash
Expand All @@ -56,9 +56,9 @@ Inside of the `/app/ts_functions` directory we can find all the files the CLI ge
#highlight-end
│   ├── package-lock.json
│   ├── package.json
│   ├── ts_functions.build.hml
│   ├── ts_connector.build.hml
│   └── tsconfig.json
└── ts_functions.hml
└── ts_connector.hml
```

If we open `functions.ts`, we'll see the following contents:
Expand Down Expand Up @@ -149,7 +149,7 @@ with. Let's add the `pg` package so we can directly interact with our database.
In an available terminal tab, run the following from the root of the project:

```bash
cd ./app/ts_functions/connector
cd ./app/ts_connector/connector
```

Then, let's install the `pg` package and its types:
Expand Down

0 comments on commit 7fd7cb5

Please sign in to comment.