{"id":39118950,"url":"https://github.com/hainguyen27798/typesense-next","last_synced_at":"2026-01-17T20:25:54.947Z","repository":{"id":234281092,"uuid":"788569887","full_name":"hainguyen27798/typesense-next","owner":"hainguyen27798","description":"Build Typesence module for NestJS and sync data from mongoDB","archived":false,"fork":false,"pushed_at":"2024-04-20T20:23:02.000Z","size":81860,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-05T11:53:20.150Z","etag":null,"topics":["mongodb","nextjs","typesense"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hainguyen27798.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}},"created_at":"2024-04-18T17:09:30.000Z","updated_at":"2025-01-06T09:44:35.000Z","dependencies_parsed_at":"2024-04-18T19:07:07.252Z","dependency_job_id":null,"html_url":"https://github.com/hainguyen27798/typesense-next","commit_stats":null,"previous_names":["duchai27798/typesense-mongo","hainguyen27798/typesense-mongo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hainguyen27798/typesense-next","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hainguyen27798%2Ftypesense-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hainguyen27798%2Ftypesense-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hainguyen27798%2Ftypesense-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hainguyen27798%2Ftypesense-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hainguyen27798","download_url":"https://codeload.github.com/hainguyen27798/typesense-next/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hainguyen27798%2Ftypesense-next/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28517573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mongodb","nextjs","typesense"],"created_at":"2026-01-17T20:25:54.662Z","updated_at":"2026-01-17T20:25:54.942Z","avatar_url":"https://github.com/hainguyen27798.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://nestjs.com/img/logo-small.svg\" width=\"130\" alt=\"Nest Logo\" /\u003e \u003cbr/\u003e\n  \u003cimg src=\"https://typesense.org/docs/assets/img/mongodb.845c5a69.svg\" alt=\"Typesense\" /\u003e\n\u003c/p\u003e\n\u003ch4 align=\"center\"\u003e\n    Build Typesence module for \u003ca href=\"https://github.com/nestjs/nest\"\u003eNestJS\u003c/a\u003e \u003cbr/\u003e Synchronous data from MongoDB \u0026 Demonstrate\n\u003c/h4\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n## Overview\n\n- [Typesense]() is a fast, typo-tolerant search engine for building delightful search experiences.\n- An Open Source Algolia Alternative \u0026 An Easier-to-Use ElasticSearch Alternative\n\n## Install development tools\n\n-   Install NodeJS LTS 20.9.0: [https://nodejs.org](https://nodejs.org/en)\n\n    -   Check node version:\n        ```sh\n        node -v\n        ```\n    -   If Node.js is existed on your computer and node version is not v20.9.0 then we need install [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script)\n    -   Install v20.9.0\n\n        ```sh\n        nvm install 20.9.0\n\n        # switch to correct node version\n        # note: run it again before we need start project on a new terminal\n        nvm use v20.9.0\n        ```\n\n-   Install Version Control: [https://git-scm.com/](https://git-scm.com/)\n-   Install Docker: [https://www.docker.com/get-started/](https://www.docker.com/get-started/)\n-   Install NestJS latest: [https://nestjs.com/](https://nestjs.com/)\n-   Install MongoDB Compass: [https://www.mongodb.com/](https://www.mongodb.com/products/tools/compass)\n\n## Installation on your local\n\n#### Clone project\n\n```sh\ngit clone https://github.com/hainguyen27798/typesense-mongo.git\n```\n\nSwitch to `main` branch\n\n```sh\ngit switch main\n```\n\nCopy from `.env.example` to `.env.local` and configure in `.env.local`\n\n#### Start project\n\n1. Configure `.env.local`:\n    ```dotenv\n    # Mongo config\n    MONGO_BD_NAME='enter your db name'\n    MONGO_USERNAME='enter your db user'\n    MONGO_PASSWORD='enter your db pass'\n    MONGO_PORT=27017\n    MONGO_HOST=mongo\n\n    API_PORT=8080\n\n    # typesense config\n    TYPESENSE_HOST=typesense\n    TYPESENSE_PORT=8108\n    TYPESENSE_PROTOCOL=http\n    TYPESENSE_API_KEY='create a new key from \"openssl rand -hex 32\"'\n    ```\n2. Install containers required\n    ```sh\n    docker compose --env-file .env.local up -d\n    ```\n   And turn off `api` container\n    ```sh\n    docker ps -a\n    ```\n    \u003cimg src=\"./images/docker.png\" alt=\"docker\"\u003e\n3. Extract sample data\n    ```sh \n   sh unzip-data.sh\n    ```\n4. Check node version: [Install NodeJS LTS 20.9.0](#install-development-tools)\n5. Install dependencies\n    ```sh\n    yarn install\n    ```\n6. Start project\n    ```sh\n    yarn start:local\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhainguyen27798%2Ftypesense-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhainguyen27798%2Ftypesense-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhainguyen27798%2Ftypesense-next/lists"}