Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion versioned_docs/version-2.0.0/quickstart/nextjs-postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This is a sample app to test Keploy integration capabilities using NextJS and Po
Now that we have bun installed, we will setup our application.

```bash
git clone https://github.com/keploy/samples-typescript && cd samples-typscript/nextjs-postgres
git clone https://github.com/keploy/samples-typescript && cd samples-typescript/nextjs-postgres

## Download node modules
npm install
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

### Get Started! 🎬

Now that we have bun installed, we will se tup our application.

Check failure on line 30 in versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md

View workflow job for this annotation

GitHub Actions / vale

[vale] versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md#L30

[Vale.Spelling] Did you really mean 'se'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'se'?", "location": {"path": "versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md", "range": {"start": {"line": 30, "column": 41}}}, "severity": "ERROR"}

Check failure on line 30 in versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md

View workflow job for this annotation

GitHub Actions / vale

[vale] versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md#L30

[Vale.Spelling] Did you really mean 'tup'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'tup'?", "location": {"path": "versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md", "range": {"start": {"line": 30, "column": 44}}}, "severity": "ERROR"}

```bash
git clone https://github.com/keploy/samples-typescript && cd samples-typscript/nextjs-postgres
git clone https://github.com/keploy/samples-typescript && cd samples-typescript/nextjs-postgres

## Download node modules
npm install
Expand All @@ -49,7 +49,7 @@
sudo -E env PATH=$PATH keploy record -c 'npm run dev'
```

<img src="https://keploy-devrel.s3.us-west-2.amazonaws.com/Keploy-record-nextjs-postgres.png" alt="Sample Keploy Record Javascript" width="100%" style={{ borderRadius: '5px' }} />

Check failure on line 52 in versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md

View workflow job for this annotation

GitHub Actions / vale

[vale] versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md#L52

[Vale.Spelling] Did you really mean 'Javascript'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'Javascript'?", "location": {"path": "versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md", "range": {"start": {"line": 52, "column": 121}}}, "severity": "ERROR"}

Alright, magician! With the app alive and kicking, let's weave some test cases. The spell? Making some API calls!

Expand Down Expand Up @@ -82,7 +82,7 @@
curl -X GET http://localhost:3000/api/users
```

<img src="https://keploy-devrel.s3.us-west-2.amazonaws.com/Keploy-record-output-nextjs-postgres.png" alt="Sample Keploy Record Javascript" width="100%" style={{ borderRadius: '5px' }} />

Check failure on line 85 in versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md

View workflow job for this annotation

GitHub Actions / vale

[vale] versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md#L85

[Vale.Spelling] Did you really mean 'Javascript'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'Javascript'?", "location": {"path": "versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md", "range": {"start": {"line": 85, "column": 128}}}, "severity": "ERROR"}

Give yourself a pat on the back! With that simple spell, you've conjured up test cases with a mock! Explore the **Keploy directory** and you'll discover your handiwork in `test-1.yml` and `mocks.yml`.

Expand All @@ -96,7 +96,7 @@
sudo -E env PATH=$PATH keploy test -c "npm run dev" --delay 10
```

<img src="https://keploy-devrel.s3.us-west-2.amazonaws.com/Keploy-result-output-postgres-nextjs.png" alt="Sample Keploy Record Javascript" width="100%" style={{ borderRadius: '5px' }} />

Check failure on line 99 in versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md

View workflow job for this annotation

GitHub Actions / vale

[vale] versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md#L99

[Vale.Spelling] Did you really mean 'Javascript'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'Javascript'?", "location": {"path": "versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md", "range": {"start": {"line": 99, "column": 128}}}, "severity": "ERROR"}

> The `--delay` flag? Oh, that's just giving your app a little breather (in seconds) before the test cases come knocking.

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-4.0.0/quickstart/nextjs-postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import ProductTier from '@site/src/components/ProductTier';
Now that we have bun installed, we will se tup our application.

```bash
git clone https://github.com/keploy/samples-typescript && cd samples-typscript/nextjs-postgres
git clone https://github.com/keploy/samples-typescript && cd samples-typescript/nextjs-postgres

## Download node modules
npm install
Expand Down
Loading