skytable / skytable

Skytable is a modern scalable NoSQL database with BlueQL, designed for performance, scalability and flexibility. Skytable gives you spaces, models, data types, complex collections and more to build powerful experiences

Home Page:https://skytable.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement NodeJS client driver

ohsayan opened this issue Β· comments

Let's get a driver for NodeJS implemented. Here's the template repo: https://github.com/skytable/client-nodejs.

For implementors: you don't need to know Rust for this! The Rust driver is a good reference if you need it. We're also here to mentor you and help :)

/bounty $250

πŸ’Ž $250 bounty created by skytable
πŸ™‹ If you start working on this, comment /attempt #324 along with your implementation plan
πŸ‘‰ To claim this bounty, submit a pull request that includes the text /claim #324 somewhere in its body
πŸ“ Before proceeding, please make sure you can receive payouts in your country
πŸ’΅ Payment arrives in your account 2-5 days after the bounty is rewarded
πŸ’― You keep 100% of the bounty award
πŸ™ Thank you for contributing to skytable/skytable!

πŸ‘‰ Add a bounty β€’ Share on socials

Attempt Started (GMT+0) Solution
πŸ”΄ @rishi-raj-jain Dec 10, 2023, 6:05:00 PM WIP
πŸ”΄ @Pavan-Nambi Dec 10, 2023, 6:46:21 PM WIP
🟒 @jkcs Dec 15, 2023, 1:55:09 PM #2

Hey @ohsayan can i try this?

Please take a shot!

@Pavan-Nambi would you like to collaborate on this one?

Hi @ohsayan, I hope you can assign someone to this task and add them to the "Assignees". I just reviewed it, and there is a significant amount of code to be written. This way, we can avoid wasting other people's time. (If necessary, I can join the queue.)

Hi @ohsayan, I hope you can assign someone to this task and add them to the "Assignees". I just reviewed it, and there is a significant amount of code to be written. This way, we can avoid wasting other people's time. (If necessary, I can join the queue.)

Hi sorry about that! It appears that our bot @glydr (not the algora bot) had crashed in the background. No worries, we're opening up more soon!

Hi @ohsayan is anyone working on this issue currently. I would like to try this.

@Pavan-Nambi let me know if you're working on this!

@Pavan-Nambi let me know if you're working on this!

Hey , yeah i am.

@Pavan-Nambi would you like to collaborate on this one?

sure

@Pavan-Nambi would you like to collaborate on this one?

sure

ping me your discord id and we can get talking

@Pavan-Nambi let me know if you're working on this!

Hey , yeah i am.

Glad to know! Please remember that you will have to fork and send a PR to the skytable/client-nodejs repo and not this one; just fyi :)

@Pavan-Nambi let me know if you're working on this!

Hey , yeah i am.

Glad to know! Please remember that you will have to fork and send a PR to the skytable/client-nodejs repo and not this one; just fyi :)

ah, yes. i know that!

hey @Pavan-Nambi you still on this?

hey, yeah sorry for late reply, i didn't got notification for earlier messages, i'll let you know if i need help - thanks

@Pavan-Nambi let me know if you're working on this!

Hey , yeah i am.

Glad to know! Please remember that you will have to fork and send a PR to the skytable/client-nodejs repo and not this one; just fyi :)

yeah okay

hey, yeah sorry for late reply, i didn't got notification for earlier messages, i'll let you know if i need help - thanks

cool no issues!

πŸ”” Bounty Alert: This bounty has not been completed yet and will be unassigned and re-opened for other people to participate at 12:00PM UTC today!


I'm a just bot! If this was not expected, please ping the maintainers.

ah okay so if any of you want to try

here is the code i wrote feel free to use it - https://github.com/Pavan-Nambi/client-nodejs/tree/node-dev

NOTE: commits are in node-dev branch

it works to make connection and make handshake and until send query i kinda cant figure out correct format of query to send to db/server - imo if you figure out format of query its doable -- unfortunately i have some personal work to do now. so i am off here.
used winston for logging.

code is bit modular but i normally like to have all my code in 1 file until full work done so - wip-all-in-one.ts

cc: @rajdip-b @vishnu-mouli-102408 @jkcs

@ohsayan I have some personal work until sunday so can't continue now. if no one does this by sunday(mostly unlikely) i will pick it up.

goodluck - feel free to use my code if anyone want.

and also if anyone decide to use my code , you will likely get this error

<Buffer 48 00 00 00>
 info: Received response:
error: Unexpected response during handshake

ignore that , i kept that as note for myself to convert buffer to hex( <48 00 00 > to H00 smthng , so as long as the response buffer u get is something like <48 00 00> handshake is working.

@ohsayan Can I be assigned this?

@jkcs @vishnu-mouli-102408 feel free to get started with this, I too am occupied for this weekend :/ @Pavan-Nambi thanks for pinging this publicly!

πŸ”” Bounty alert: @Pavan-Nambi thank you for attempting this bounty! This bounty is now open for attempt.

I'm a just bot! If this was not expected, please ping the maintainers.

@jkcs Good luck! We're here if you need us πŸ™Œ. Thanks for attempting @Pavan-Nambi :)

πŸ”” Bounty alert: @jkcs is attempting this bounty. If you need help, please jump into our Discord server. This attempt times out after 5 days, but you can always re-attempt. Good luck πŸ™Œ


I'm a just bot! If this was not expected, please ping the maintainers.

πŸ’‘ @jkcs submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Hey @ohsayan looks like this issue is still open. shall I continue?

@Rutik7066 Thanks for asking! However, @jkcs has already worked on this and is almost done completing the task.

Hang around though β€” we plan on opening up more bounties soon!

Hi @ohsayan. I am up for next challengesπŸ”₯πŸ’ͺ

πŸ””βœ… Bounty alert: @jkcs has claimed this bounty in PR skytable/client-rust#2 and @ohsayan has approved the merge πŸŽ‰. The bounty will be rewarded soon once everything is verified.

Congratulations @jkcs πŸ†!


I'm a just bot! If this was not expected, please ping the maintainers.

@jkcs: Your claim has been rewarded! We'll notify you once it is processed.

πŸ””βœ… Bounty alert: @jkcs has been awarded this bounty πŸ†βœ¨! Congratulations πŸ₯³

πŸŽ‰πŸŽˆ @jkcs has been awarded $250! 🎈🎊

Hmm, unfortunately it looks like the implementation does not take into account unbuffered cases where not enough data has been buffered. cc @jkcs

@jkcs unfortunately did not come back with an appropriate resolution. We will rewrite this in its entirety. Closed in favor of skytable/client-node#7