ADD: TsApiFeatures

ADD: Typesense
ADD: Index all belongings router, controller & service
This commit is contained in:
2024-12-31 22:49:43 +03:30
parent a8f8095948
commit ef504f3775
5 changed files with 291 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
const TypeSense = require('typesense')
let client = new TypeSense.Client({
nodes: [
{
host: process.env.TYPE_SENSE_URL,
port: '443',
protocol: 'httpS',
},
],
apiKey: process.env.TYPE_SENSE_API_KEY,
connectionTimeoutSeconds: 2,
})
module.exports = { client }