{"id":18398631,"url":"https://github.com/mongodb-developer/kotlin-driver-atlas-search","last_synced_at":"2025-04-07T04:34:04.823Z","repository":{"id":251905600,"uuid":"835841485","full_name":"mongodb-developer/kotlin-driver-atlas-search","owner":"mongodb-developer","description":"This repository demonstrates how to integrate MongoDB Atlas Search with the Kotlin Sync driver using a Spring Boot REST application. The goal is to create a solution for exploring and discovering an ideal Airbnb, leveraging the advanced search capabilities of MongoDB Atlas.","archived":false,"fork":false,"pushed_at":"2024-08-08T20:42:15.000Z","size":6582,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-09T21:21:21.935Z","etag":null,"topics":["atlas-search","kotlin","mongodb","mongodb-atlas","mongodb-driver"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb-developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-30T16:27:04.000Z","updated_at":"2024-08-09T01:29:10.000Z","dependencies_parsed_at":"2024-08-06T13:39:44.376Z","dependency_job_id":null,"html_url":"https://github.com/mongodb-developer/kotlin-driver-atlas-search","commit_stats":null,"previous_names":["mongodb-developer/kotlin-driver-atlas-search"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fkotlin-driver-atlas-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fkotlin-driver-atlas-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fkotlin-driver-atlas-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fkotlin-driver-atlas-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb-developer","download_url":"https://codeload.github.com/mongodb-developer/kotlin-driver-atlas-search/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223271627,"owners_count":17117440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atlas-search","kotlin","mongodb","mongodb-atlas","mongodb-driver"],"created_at":"2024-11-06T02:23:15.850Z","updated_at":"2024-11-06T02:23:16.350Z","avatar_url":"https://github.com/mongodb-developer.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kotlin-driver-atlas-search\nThis repository demonstrates how to integrate MongoDB Atlas Search with the Kotlin Sync driver using a Spring Boot REST application. The goal is to create a solution for exploring and discovering properties similar to Airbnb, leveraging the advanced search capabilities of MongoDB Atlas.\n\nYou can read more on:\n- [`Discover Your Ideal Airbnb: Implementing a Spring Boot \u0026 Atlas Search with Kotlin Sync Driver`](https://www.mongodb.com/developer/products/atlas/kotlin-driver-sync-with-atlas-search/)\n\n# Demonstration\n![Demonstration](./demonstration/demonstration.gif)\n\n## Prerequisites\n\n\nBefore you start, make sure you have the following:\n\n1. **MongoDB Atlas Account**\n    - Get started with MongoDB Atlas for free! If you don’t already have an account, MongoDB offers a free-forever Atlas cluster. You can sign up [here](https://www.mongodb.com/cloud/atlas).\n\n2. **Java 21+**\n    - Ensure that you have Java 21 or higher installed. You can download the latest version from the [Oracle website](https://www.oracle.com/java/technologies/javase-downloads.html)\n\n3. **Gradle 8.8+**\n    - This project uses Gradle for build automation. Make sure you have Gradle version 8.8 or later. You can download Gradle from the [official website](https://gradle.org/install/).\n\n4. **IDE of Your Choice**\n    - Use any Java IDE that you prefer. Popular options include [IntelliJ IDEA](https://www.jetbrains.com/idea/), [Eclipse](https://www.eclipse.org/), and [Visual Studio Code](https://code.visualstudio.com/). Ensure that your IDE is set up to support Java 21 and integrate with MongoDB.\n\n## Getting Started\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/mongodb-developer/kotlin-driver-atlas-search.git\n   cd kotlin-driver-atlas-search\n\n2. **Build the Project**\n\n   ```bash\n   ./gradlew build\n\n3. **Run the Application**\n\n   ```bash\n   ./gradlew bootRun\n\n4. **Access the Endpoint**\n\n- Once the application is running, you can access the search endpoint at http://localhost:8080/airbnb/search.\n\n  - Endpoint Parameters:\n\n    - query: A text string to perform a full-text search with fuzzy matching on the summary field.\n    - minNumberReviews: The minimum number of reviews required for each Airbnb listing to be included in the results.\n  \n  \n   ```bash\n        curl --location 'http://localhost:8080/airbnb/search?query=Istambun\u0026minNumberReviews=50'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fkotlin-driver-atlas-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb-developer%2Fkotlin-driver-atlas-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fkotlin-driver-atlas-search/lists"}