diff --git a/src/components/Community.js b/src/components/Community.js index 6e7fc7e30..d941bc306 100644 --- a/src/components/Community.js +++ b/src/components/Community.js @@ -86,9 +86,7 @@ export const Community = () => {

Substack

-

- Ideas worth reading β€” delivered directly to you. -

+

Ideas worth reading β€” delivered directly to you.

diff --git a/src/components/QuickStartList.js b/src/components/QuickStartList.js index db6d72de9..37249e605 100644 --- a/src/components/QuickStartList.js +++ b/src/components/QuickStartList.js @@ -351,7 +351,7 @@ const quickstarts = [ { title: "Express + Postgres + Prisma ", language: "JS/TS", - server: "Docker", + server: "Local", description: "A sample Task Management app to demonstrate how seamlessly Keploy integrates with Express, PostgreSQL, and Prisma ORM.", link: "/docs/quickstart/express-postgresql-prisma/#running-app-locally-on-linuxwsl", diff --git a/versioned_docs/version-2.0.0/quickstart/nextjs-postgres.md b/versioned_docs/version-2.0.0/quickstart/nextjs-postgres.md index a8e5f646d..25c43751d 100644 --- a/versioned_docs/version-2.0.0/quickstart/nextjs-postgres.md +++ b/versioned_docs/version-2.0.0/quickstart/nextjs-postgres.md @@ -17,10 +17,6 @@ keyword: This is a sample app to test Keploy integration capabilities using NextJS and Postgres with Drizzle ORM. Buckle up, it's gonna be a fun ride! 🎒 -import InstallationGuide from '../concepts/installation.md' - - - ## Get Started! 🎬 Now that we have bun installed, we will setup our application. diff --git a/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md b/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md index cfe696180..a26b8396c 100644 --- a/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md +++ b/versioned_docs/version-2.0.0/quickstart/samples-bunjs.md @@ -25,10 +25,6 @@ keyword: This is a sample app to test Keploy integration capabilities using Bun.js and MongoDB. -import InstallationGuide from '../concepts/installation.md' - - - ## Get Started! 🎬 ## Clone a sample user data CRUD app πŸ§ͺ diff --git a/versioned_docs/version-3.0.0/quickstart/express-postgresql-prisma.md b/versioned_docs/version-3.0.0/quickstart/express-postgresql-prisma.md index 76298e602..44f367a46 100644 --- a/versioned_docs/version-3.0.0/quickstart/express-postgresql-prisma.md +++ b/versioned_docs/version-3.0.0/quickstart/express-postgresql-prisma.md @@ -18,15 +18,14 @@ keyword: - Auto Testcase generation --- -## Introduction +import InstallReminder from '@site/src/components/InstallReminder'; +import SectionDivider from '@site/src/components/SectionDivider'; -A sample Task Management application and see how seamlessly Keploy integrates with Express, [PostgreSQL](https://www.postgresql.org/) and Prisma ORM. Buckle up, it's gonna be a fun ride! 🎒 +## Running App Locally on Linux/WSL -import InstallationGuide from '../concepts/installation.md' +A sample Task Management application and see how seamlessly Keploy integrates with Express, PostgreSQL and Prisma ORM. Buckle up, it's gonna be a fun ride! - - -## Get Started! 🎬 + ### Prerequisites @@ -43,8 +42,6 @@ git clone https://github.com/keploy/samples-typescript.git cd samples-typescript/express-postgresql-prisma ``` -### Running App Locally on Linux/WSL - #### Install the dependencies ```bash @@ -175,7 +172,46 @@ The above command will start recording the API calls made to the application and > πŸ’‘ You can use Postman or any other API testing tool to test the API calls. Additionally, the application will run a swagger UI on `http://localhost:3000/api/docs` to visualize the API calls. -### Running App using Docker Compose 🐳 +#### Test the Application + +```bash +keploy test -c "npm start" +``` + + + +## Running App using Docker Compose 🐳 + +A sample Task Management application and see how seamlessly Keploy integrates with Express, PostgreSQL and Prisma ORM. Buckle up, it's gonna be a fun ride! + + + +### Prerequisites + +Ensure you have the following installed: + +- Docker +- Node.js and npm +- Keploy CLI + +Clone the repository and move to express-postgresql-prisma folder + +```bash +git clone https://github.com/keploy/samples-typescript.git +cd samples-typescript/express-postgresql-prisma +``` + +#### Install the dependencies + +```bash +npm install +``` + +#### Set up environment variables: + +```bash +cp .env.example .env +``` We will be using Docker compose to run the application as well as PostreSql on Docker container. @@ -334,14 +370,6 @@ curl -X 'DELETE' \ ### Test the Application using Keploy -#### on Linux/WSL - -```bash -keploy test -c "npm start" -``` - -#### On Docker Compose 🐳 - ```bash keploy test -c "docker compose up" --container-name "nodeMongoApp" --build-delay 50 --delay 10 ``` diff --git a/versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md b/versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md index 27981beaf..a61f0e6a5 100644 --- a/versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md +++ b/versioned_docs/version-3.0.0/quickstart/nextjs-postgres.md @@ -13,15 +13,16 @@ keyword: - Auto Testcase generation --- -## Introduction +## Running App Locally on Linux/WSL 🐧 This is a sample app to test Keploy integration capabilities using NextJS and Postgres with Drizzle ORM. Buckle up, it's gonna be a fun ride! 🎒 -import InstallationGuide from '../concepts/installation.md' +import Link from '@docusaurus/Link' +import InstallReminder from '@site/src/components/InstallReminder'; - + -## Get Started! 🎬 +### Get Started! 🎬 Now that we have bun installed, we will se tup our application. @@ -35,12 +36,6 @@ npm install docker-compose up ``` -## Installation πŸ“₯ - -- [Using Docker container for Postgres and running application locally](#running-app-locally-on-linuxwsl-) - -## Running App Locally on Linux/WSL 🐧 - We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (Redis) chill on Docker. Ready? Let's get the party started!πŸŽ‰ ### Capture testcase @@ -51,6 +46,8 @@ Ready, set, record! Here's how: sudo -E env PATH=$PATH keploy record -c 'npm run dev' ``` +Sample Keploy Record Javascript + Alright, magician! With the app alive and kicking, let's weave some test cases. The spell? Making some API calls! #### Generate testcases @@ -82,7 +79,7 @@ This will return the response: curl -X GET http://localhost:3000/api/users ``` -![Test Record](../../../static/img/nextjs-postgres-record.png) +Sample Keploy Record Javascript 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`. @@ -96,7 +93,7 @@ Time to put things to the test πŸ§ͺ sudo -E env PATH=$PATH keploy test -c "npm run dev" --delay 10 ``` -![Test Run](../../../static/img/nextjs-postgres-test.png) +Sample Keploy Record Javascript > The `--delay` flag? Oh, that's just giving your app a little breather (in seconds) before the test cases come knocking. @@ -105,5 +102,3 @@ Final thoughts? Dive deeper! Try different API calls, tweak the DB response in t ### Wrapping it up πŸŽ‰ Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. πŸ˜ŠπŸš€ - -Hope this helps you out, if you still have any questions, reach out to us . diff --git a/versioned_docs/version-3.0.0/quickstart/node-express-mongoose.md b/versioned_docs/version-3.0.0/quickstart/node-express-mongoose.md index 88347dd09..855c02e61 100644 --- a/versioned_docs/version-3.0.0/quickstart/node-express-mongoose.md +++ b/versioned_docs/version-3.0.0/quickstart/node-express-mongoose.md @@ -17,15 +17,18 @@ keyword: - Auto Testcase generation --- -## Introduction +import Link from '@docusaurus/Link' +import InstallReminder from '@site/src/components/InstallReminder'; -A simple sample CRUD application and see how seamlessly Keploy integrates with Express and MongoDB. Buckle up, it's gonna be a fun ride! 🎒 +import SectionDivider from '@site/src/components/SectionDivider'; + +## Using Docker Compose 🐳 -import InstallationGuide from '../concepts/installation.md' +A simple sample CRUD application and see how seamlessly Keploy integrates with Express and MongoDB. Buckle up, it's gonna be a fun ride! 🎒 - + -## Get Started! 🎬 +### Get Started! 🎬 Clone the repository and move to express-mongoose folder @@ -36,16 +39,6 @@ git clone https://github.com/keploy/samples-typescript && cd samples-typescript/ npm install ``` -## Installation πŸ“₯ - -Depending on your OS, choose your adventure: -There are 2 ways you can run this sample application. - -- [Using Docker compose : running application as well as MongoDb on Docker container](#using-docker-compose-) -- [Using Docker container for mongoDb and running application locally](#running-app-locally-on-linuxwsl-) - -## Using Docker Compose 🐳 - We will be using Docker compose to run the application as well as MongoDb on Docker container. ### Lights, Camera, Record! πŸŽ₯ @@ -59,6 +52,8 @@ Fire up the application and mongoDB instance with Keploy. Keep an eye on the two keploy record -c "docker compose up" --container-name "nodeMongoApp" --build-delay 50 ``` +Sample Keploy Test Result Gin MongoDB + πŸ”₯ Challenge time! Generate some test cases. How? Just **make some API calls**. Postman, Hoppscotch or even curl - take your pick! #### Let's generate the testcases. @@ -104,15 +99,11 @@ Time to put things to the test πŸ§ͺ keploy test -c "docker compose up" --container-name "nodeMongoApp" --build-delay 50 --delay 10 ``` -> The `--delay` flag? Oh, that's just giving your app a little breather (in seconds) before the test cases come knocking. - -Your results should be looking all _snazzy_, like this: +Sample Keploy Test Result Gin MongoDB -Sample Keploy Test Result Gin MongoDB - -Worry not, just add the ever-changing fields (like our **ts** here) to the **noise parameter** to **dodge those assertions**. +> The `--delay` flag? Oh, that's just giving your app a little breather (in seconds) before the test cases come knocking. -Sample Keploy Test Result Node MongoDB +Sample Keploy Test Result Node MongoDB ### Wrapping it up πŸŽ‰ @@ -120,8 +111,25 @@ Congrats on the journey so far! You've seen Keploy's power, flexed your coding m Happy coding! βœ¨πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»βœ¨ + + ## Running App Locally on Linux/WSL 🐧 +A simple sample CRUD application and see how seamlessly Keploy integrates with Express and MongoDB. Buckle up, it's gonna be a fun ride! 🎒 + + + +### Get Started! 🎬 + +Clone the repository and move to express-mongoose folder + +```bash +git clone https://github.com/keploy/samples-typescript && cd samples-typescript/express-mongoose + +# Install the dependencies +npm install +``` + We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (mongoDB) chill on Docker. Ready? Let's get the party started!πŸŽ‰ If you are using WSL on windows then use below to start wsl in the user's home directory: @@ -154,6 +162,8 @@ Ready, set, record! Here's how: sudo -E env PATH=$PATH keploy record -c 'node src/app.js' ``` +Sample Keploy Test Result Node MongoDB + Keep an eye out for the `-c `flag! It's the command charm to run the app. Alright, magician! With the app alive and kicking, let's weave some test cases. The spell? Making some API calls! Postman, Hoppscotch, or the classic curl - pick your wand. @@ -181,14 +191,12 @@ Student registration successful! πŸŽ‰ Woohoo! Give yourself a pat on the back! With that simple spell, you've conjured up a test case with a mock! Explore the **Keploy directory** and you'll discover your handiwork in `test-1.yml` and `mocks.yml`. -Sample Keploy Test Result Node MongoDB - Now, the real fun begins. Let's weave more spells! πŸš€ Follow the URL road...! ```bash -curl --request GET \ --url http://localhost:8080/students +curl --request GET \ --url http://localhost:8000/students ``` Or simply wander over to your browser and visit `http://localhost:8000/students`. @@ -203,12 +211,12 @@ Ready to put your spells to the test? sudo -E env PATH=$PATH keploy test -c "node src/app.js" --delay 10 ``` -Worry not, just add the ever-changing fields (like our **ts** here) to the **noise parameter** to **dodge those assertions**. +Sample Keploy Test Result Node MongoDB -Sample Keploy Test Result Node MongoDB +output should look like + +Sample Keploy Test Result Node MongoDB ### Wrapping it up πŸŽ‰ Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.πŸ˜ŠπŸš€ - -Hope this helps you out, if you still have any questions, reach out to us . diff --git a/versioned_docs/version-3.0.0/quickstart/node-jwt-sql.md b/versioned_docs/version-3.0.0/quickstart/node-jwt-sql.md index 6def4988c..582342c7c 100644 --- a/versioned_docs/version-3.0.0/quickstart/node-jwt-sql.md +++ b/versioned_docs/version-3.0.0/quickstart/node-jwt-sql.md @@ -17,17 +17,17 @@ keyword: - Auto Testcase generation --- -## Introduction +import Link from '@docusaurus/Link' +import InstallReminder from '@site/src/components/InstallReminder'; +import SectionDivider from '@site/src/components/SectionDivider'; -A simple sample CRUD application to test using Keploy build with Node, JWT and Postgres. Buckle up, it's gonna be a fun ride! 🎒 - -import InstallationGuide from '../concepts/installation.md' +## Running App Locally on Linux/WSL 🐧 - +A simple sample CRUD application to test using Keploy build with Node, JWT and Postgres. Buckle up, it's gonna be a fun ride! 🎒 -## Get Started! 🎬 + -## Setup application +### Setup application Clone the repository and move to express-mongo folder @@ -38,16 +38,6 @@ git clone https://github.com/keploy/samples-typescript && cd samples-typescript/ npm install ``` -## Installation πŸ“₯ - -Depending on your OS, choose your adventure: -There are 2 ways you can run this sample application. - -- [Using Docker container for Postgres and running application locally](#running-app-locally-on-linuxwsl-) -- [Using Docker compose : running application as well as Postgres on Docker container](#using-docker-compose-) - -## Running App Locally on Linux/WSL 🐧 - We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (postgres) chill on Docker. Ready? Let's get the party started!πŸŽ‰ If you are using WSL on windows then use below to start wsl in the user's home directory: @@ -68,6 +58,8 @@ docker-compose up -d sudo -E env PATH=$PATH keploy record -c 'node app.js' ``` +Sample Keploy Test Result Node JWT + ### Let's Generate the testcases. Make API Calls using Postman or cURL command. Keploy with capture those calls to generate the test-suites containing testcases and data mocks. @@ -92,7 +84,7 @@ we will get the output: We will get the following output in our terminal -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT Let's go ahead create few more testcases for different endpoints! @@ -173,21 +165,28 @@ sudo -E env PATH=$PATH keploy test -c 'npm run app.js' --delay 10 Our testcases will fail as the token would expire and new Token will generated again when we are using testmode. To make sure that testcases do not fail, we have use [timeFreezing](https://keploy.io/docs/keploy-cloud/time-freezing/). Our testcases will fail as the token would expire and new Token will generated again when we are using testmode. To make sure that testcases do not fail, we have use [timeFreezing](https://keploy.io/docs/keploy-cloud/time-freezing/). -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT -But for this application, the Token expiration is 10 mins so let's go ahead and test the application within 10 mins. Let's add the `Etag` and `accessToken` as the noise in the `test-3.yml` on line 45 under `header.Date`. The file would look like:- -But for this application, the Token expiration is 10 mins so let's go ahead and test the application within 10 mins. Let's add the `Etag` and `accessToken` as the noise in the `test-3.yml` on line 45 under `header.Date`. The file would look like:- +But for this application, the Token expiration is 10 mins so let's go ahead and test the application within 10 mins. Let's add the `Etag` and `accessToken` as the noise in the `keploy.yml` on line 21 under `globalNoise`. The file would look like:- ``` - noise: - | - header.Date - | - header.Etag - | - body.accessToken + globalNoise: + global: {} + test-sets: + test-set-0: + body: + accessToken: [] + header: + Etag: [] + Date: [] + ``` Now, let's run the keploy in test mode again:- -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT + +But wait β€” one test is still failing due to the time-freezing. To try out the time-freezing feature, you can use Keploy Enterprise. ### Wrapping it up πŸŽ‰ @@ -195,10 +194,25 @@ Congrats on the journey so far! You've seen Keploy's power, flexed your coding m Happy coding! βœ¨πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»βœ¨ ---- + ## Using Docker Compose 🐳 +A simple sample CRUD application to test using Keploy build with Node, JWT and Postgres. Buckle up, it's gonna be a fun ride! 🎒 + + + +### Setup application + +Clone the repository and move to express-mongo folder + +```bash +git clone https://github.com/keploy/samples-typescript && cd samples-typescript/node-jwt + +# Install the dependencies +npm install +``` + We will be using Docker compose to run the application as well as Postgres on Docker container. Since we have setup our sample-app using docker, we need to update the postgres host on line 2, in `config/db.config.js`, from `localhost` to `postgres`. @@ -208,12 +222,14 @@ Since we have setup our sample-app using docker, we need to update the postgres We will run the keploy in record mode with docker-compose to start our application:- ```bash -keploy record -c "docker-compose up" --container-name "jwtSqlApp" +keploy record -c "docker compose up" --container-name "jwtSqlApp" ``` +Sample Keploy Test Result Node JWT + #### Let's generate the testcases. -Make API Calls using [Postman](https://postman.com) or cURL command. Keploy with capture those calls to generate the test-suites containing testcases and data mocks. +Make API Calls using cURL command. Keploy with capture those calls to generate the test-suites containing testcases and data mocks. 1. Create User @@ -235,7 +251,7 @@ we will get the output: We will get the following output in our terminal -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT Let's go ahead create few more testcases for different endpoints! @@ -310,28 +326,34 @@ User Content ## Running the testcases ```bash -keploy test -c 'sudo docker-compose up' --container-name "jwtSqlApp" --delay 10 +keploy test -c 'sudo docker compose up' --container-name "jwtSqlApp" --delay 10 ``` Our testcases will fail as the token would expire and new Token will generated again when we are using testmode. To make sure that testcases do not fail, we have use [timeFreezing](https://keploy.io/docs/keploy-cloud/time-freezing/). -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT -But for this application, the Token expiration is 10 mins so let's go ahead and test the application within 10 mins. Let's add the `Etag` and `accessToken` as the noise in the `test-3.yml` on line 45 under `header.Date`. The file would look like:- +But for this application, the Token expiration is 10 mins so let's go ahead and test the application within 10 mins. Let's add the `Etag` and `accessToken` as the noise in the `keploy.yml` on line 21 under `globalNoise`. The file would look like:- ``` - noise: - | - header.Date - | - header.Etag - | - body.accessToken + globalNoise: + global: {} + test-sets: + test-set-0: + body: + accessToken: [] + header: + Etag: [] + Date: [] + ``` Now, let's run the keploy in test mode again:- -Sample Keploy Test Result Node JWT +Sample Keploy Test Result Node JWT + +But wait β€” one test is still failing due to the time-freezing. To try out the time-freezing feature, you can use Keploy Enterprise. ### Wrapping it up πŸŽ‰ Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible.πŸ˜ŠπŸš€ - -Hope this helps you out, if you still have any questions, reach out to us . diff --git a/versioned_docs/version-3.0.0/quickstart/sample-ts.md b/versioned_docs/version-3.0.0/quickstart/sample-ts.md index 680169b0d..ac867df24 100644 --- a/versioned_docs/version-3.0.0/quickstart/sample-ts.md +++ b/versioned_docs/version-3.0.0/quickstart/sample-ts.md @@ -13,15 +13,15 @@ keyword: - Auto Testcase generation --- -## Introduction +## Running Natively on Linux/WSL This is a sample app to test Keploy integration capabilities using Typescript and Nhost Let's get started without delaying any further! 🎒 -import InstallationGuide from '../concepts/installation.md' - - +import Link from '@docusaurus/Link' +import InstallReminder from '@site/src/components/InstallReminder'; +import SectionDivider from '@site/src/components/SectionDivider'; -## Get Started! 🎬 + ### Setup app @@ -46,15 +46,6 @@ Steps on how to generate your HASURA_ADMIN_SECRET and GRAPHQL_ENDPOINT : 3. Go to Hasura Console and open Hasura (Make sure to save your secret key before going to the next step) 4. Get the `x-hasura-admin-secret` and `GraphQL Endpoint` and name them as `HASURA_ADMIN_SECRET` and `GRAPHQL_ENDPOINT `respectively in .env -## Running the Application πŸ“₯ - -There are 2 ways you can run this sample application. - -- [Running Natively on Linux/WSL](#running-natively-on-linuxwsl) -- [Running the app using Docker](#running-the-app-using-docker) - -## Running Natively on Linux/WSL - We're about to set up our sample application right on Linux, with a twistβ€”our GraphQL backend will be powered by Hasura through Nhost. And to add a bit of flair, we’ll handle the database management with Nhost’s cloud-based service. Ready to dive in? Let’s make this setup as smooth as a breeze! 🌟 @@ -196,8 +187,41 @@ You will be able to see the summary of your test cases run in your terminal! Now its time for you to experiment further with different API calls and tweak the responses accordingly! + + ## Running the app using Docker +This is a sample app to test Keploy integration capabilities using Typescript and Nhost Let's get started without delaying any further! 🎒 + + + +### Setup app + +Clone and install the necessary packages with the below command + +```bash +git clone https://github.com/keploy/samples-typescript && cd samples-typescript/ts-nhost +``` + +```bash +npm install +``` + +### Creating .env + +Create a .env file which should contain `HASURA_ADMIN_SECRET`and `GRAPHQL_ENDPOINT` (as mentioned in ts-nhost/sample.env) + +Steps on how to generate your HASURA_ADMIN_SECRET and GRAPHQL_ENDPOINT : + +1. Go to nhost +2. Sign Up/Sign In and create new project +3. Go to Hasura Console and open Hasura (Make sure to save your secret key before going to the next step) +4. Get the `x-hasura-admin-secret` and `GraphQL Endpoint` and name them as `HASURA_ADMIN_SECRET` and `GRAPHQL_ENDPOINT `respectively in .env + +We're about to set up our sample application right on Linux, with a twistβ€”our GraphQL backend will be powered by Hasura through Nhost. And to add a bit of flair, we’ll handle the database management with Nhost’s cloud-based service. + +Ready to dive in? Let’s make this setup as smooth as a breeze! 🌟 + We will be using Docker compose to run the application as well as GraphQL on Docker container. ### Capture the testcases @@ -205,10 +229,10 @@ We will be using Docker compose to run the application as well as GraphQL on Doc We will run the keploy in record mode with docker-compose to start our application:- ```bash -keploy record -c "sudo docker-compose up" --containerName "ts-nhost" +keploy record -c "sudo docker compose up" --containerName "ts-nhost" ``` -Sample Keploy Record TS Nhost +Sample Keploy Record TS Nhost ### Generate the testcases @@ -260,21 +284,17 @@ curl --request POST \ Let's run our captured test cases ```bash -keploy test -c 'sudo docker-compose up' --containerName "ts-nhost" --delay 10 +keploy test -c 'sudo docker compose up' --containerName "ts-nhost" --delay 10 ``` This is what your response should look like! -Sample Keploy Test TS Nhost +Sample Keploy Test TS Nhost -Sample Keploy TS Nhost Summary +Sample Keploy TS Nhost Summary ## Wrapping it up πŸŽ‰ πŸŽ‰ **Congratulations on Reaching This Milestone!** πŸŽ‰ You've successfully tested the tool and created your mocks and test casesβ€”fantastic work! Now that you've laid a solid foundation, it's time to elevate your achievements even further. - -Here’s to building more, innovating, and reaching new heights with your project! πŸš€ - -Hope this helps you out, if you still have any questions, reach out to us . diff --git a/versioned_docs/version-3.0.0/quickstart/samples-bunjs.md b/versioned_docs/version-3.0.0/quickstart/samples-bunjs.md index cfe696180..7381affff 100644 --- a/versioned_docs/version-3.0.0/quickstart/samples-bunjs.md +++ b/versioned_docs/version-3.0.0/quickstart/samples-bunjs.md @@ -21,17 +21,16 @@ keyword: - typescript --- -# Introduction +## Running App Locally on Linux/WSL 🐧 This is a sample app to test Keploy integration capabilities using Bun.js and MongoDB. -import InstallationGuide from '../concepts/installation.md' - - +import Link from '@docusaurus/Link' +import InstallReminder from '@site/src/components/InstallReminder'; -## Get Started! 🎬 + -## Clone a sample user data CRUD app πŸ§ͺ +### Clone a sample user data CRUD app πŸ§ͺ ```bash git clone https://github.com/keploy/samples-typescript && cd samples-typescript/bun-mongo @@ -41,16 +40,6 @@ git clone https://github.com/keploy/samples-typescript && cd samples-typescript/ bun install ``` -## Installation Keploy - -Depending on your OS, choose your adventure: - -There are 2 ways you can run this sample application. - -- [Using Docker container for Postgres and running application locally](#running-app-locally-on-linuxwsl-) - -## Running App Locally on Linux/WSL 🐧 - We'll be running our sample application right on Linux, but just to make things a tad more thrilling, we'll have the database (MongoDB) chill on Docker. Ready? Let's get the party started!πŸŽ‰ ### πŸ“Ό Roll the Tape - Recording Time! @@ -380,5 +369,3 @@ Final thoughts? Dive deeper! Try different API calls, tweak the DB response in t ### Wrapping it up πŸŽ‰ Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. πŸ˜ŠπŸš€ - -Hope this helps you out, if you still have any questions, reach out to us .