{"repo":"micheleangioni/node-ts-ai-starter","free":true,"listed":false,"github":"https://github.com/micheleangioni/node-ts-ai-starter","clone":"git clone https://github.com/micheleangioni/node-ts-ai-starter.git","description":"Starter kit application for AI-driven projects, written in TypeScript and using Fastify with MongoDB, Apache Kafka, Jest testing and much more configured out of the box.","language":"TypeScript","stars":10,"topics":["typescript","starter-kit","nodejs","mongodb","jest","kafka","ai","fastify","openai"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Node TypeScript AI Starter Starter kit application for AI-driven projects, written in TypeScript and using Fastify with MongoDB, Apache Kafka, Jest testing and much more configured out of the box. Introduction Node TypeScript AI Starter is a starter kit for AI-driven applications written in TypeScript and using Fastify as web framework. It comes with the following features configured out of the box: - Domain Driven Design (DDD) structure - Server configuration with enabled CORS - dotenv to handle environment variables - MongoDB integration - Domain Events via Apache Kafka - Testing via Jest - Modern .eslintrc configuration - Chat endpoint powered by OpenAI and MemoryBuffer - Endpoints to ingest documents and query them, powered by OpenAI + hnswlib/Redis Content - Installation - Development - Running the Application - Configuration - Environment variables - Features - Chat - Document Ingestion and Querying - Domain Events - Testing - Contribution Guidelines - License Installation Be sure to use Node.js v18 or greater. 1. Clone the repo; 2. Either - copy the env.example file into a new .env file and fill in the variables, or - directly set up the needed environment variables. 3. Run npm install to install the needed dependencies. 4. (optional) If you want to remove the AI endpoints and logic for the AI-powered chat, follow this steps: - Run npm run clear-ai - Delete the unused lines in src/api/index.ts Development For local development Node TypeScript AI Starter is shipped with","default_branch":null,"files":null,"tree":[],"storefront":"/r/micheleangioni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/micheleangioni/node-ts-ai-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}