#contributions

Contributing to project using JS, TS, Go and PHP

TLDR Matthew volunteered to contribute to the project using JavaScript, Typescript, Go, and PHP. Jason assigned two tasks, including Laravel integration and nest.js library. hi019 encouraged Matthew to try out the Laravel integration.

Powered by Struct AI

1

1

24
27mo
Solved
Join the chat
Aug 17, 2021 (27 months ago)
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
06:42 PM
Hey guys, I would like to help to contribute to this project! I'm just looking for something I can get my head stuck around in my free time, I like this project a lot, unfortunately I don't know C++, but I can help in JS, TS, Go and PHP!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:46 PM
Hey Matthew! That’s great. Folks have been asking for Typescript types and I haven’t found the time to pick it up yet. Would be great if you’re able to help review this PR as good first issue: https://github.com/typesense/typesense-instantsearch-adapter/pull/66

1

Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
07:12 PM
Quickly looking into it, not much I can say, only 2 comments, just my thoughts on node settings, can't really review the query params as I can't see that much into them as I would like to!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:52 PM
Thanks Matthew!

CC: Harisaran ^
08:53
Jason
08:53 PM
Separately, Matthew - have you worked with Laravel before? We're in the process of adopting a Scout drive into the Typesense org and would be great if you're able to install the pre-release version and see if everything works as expected: https://github.com/typesense/laravel-scout-typesense-driver/issues/1#issuecomment-895545798
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
08:56 PM
Sure I can check it out tomorrow!
08:57
Matthew
08:57 PM
I was starting my career in laravel, so would be fun to get back to it! 😄
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:58 PM
Ha, nice! What stack / framework do you work on these days?
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:09 PM
mostly nest.js, golang, php (tailored codebase for needs of our customer) without usage of php framework. 🙂
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:11 PM
I only recently heads about nest.js (I'm assuming you didn't mean next.js!)... It sounds like it's essentially a rails-like framework but for node?
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:17 PM
It takes advantage of decorators yea. But it's module system and how it's leaning towards the domain driven design and hexagon architecture is the selling point. Apps are extensible without any work basically . Also GRPC support there is a so good. It's so easy and also Microservice management is handled so easy. 😄 I can say only nice things about nest. Sometimes it's hard to find answer for your question because of it's small but growing community, but that haven't been a that big of an issue so far.

It can be also used for monerepos which is also handled by framework itself as well as microservices, grpc server and such!
09:18
Matthew
09:18 PM
Only thing I don't like is the angular-like thinking within the framework, but it's nothing major I guess 😄
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:18 PM
Interesting that a framework has first-class support for a monorepo setup!
09:19
Jason
09:19 PM
Do you see any potentially useful integrations between Nest.js and Typesense may be?
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:26 PM
Actually, I got to this project cause I made an microservice which is getting data from mongo to elasticsearch. I could have used e.g. Logstash but that was really slow for our needs. So I made this microservice in nest.js which was doing that. So far performance is over 200k document < 5s without 0 errors. There is one or two wrong documents each month tho, but that's probably something with network. I was looking for some project and my friend suggested this project because of that microservice 😄 I don't really know if integration, but for sure library 🙂
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:30 PM
Ah I used the word "integration" loosely. I meant to say library... So something like this: https://github.com/nestjs/elasticsearch?
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:34 PM
yup!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:35 PM
That sounds interesting! Do you want to take a stab at it?
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:38 PM
That sounds interesting! Sure!
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:41 PM
Awesome! Happy to create a repo for you under the Typesense org if you'd like, whatever works best for you.
09:41
Jason
09:41 PM
Let me know if I can help in anyway... But you're the nest.js expert!
Matthew
Photo of md5-f0893429545e4a3802f59d6acfab021f
Matthew
09:48 PM
Not sure if expert lol 😄 I'll do my best and get back to you with working prototype later 🙂
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:49 PM
Looking forward to it! 🙌
hi019
Photo of md5-0062cb4a6efd095bd211d89ac3e5281f
hi019
10:15 PM
Definitely try out the Laravel integration if you can! We're looking for some more testers. I'll be merging an improved README later today as well.

1