Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Write a sendMessage() Function using Node #3954

Closed
4 tasks
christyjacob4 opened this issue Sep 29, 2022 · 13 comments
Closed
4 tasks

⚡ Write a sendMessage() Function using Node #3954

christyjacob4 opened this issue Sep 29, 2022 · 13 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@christyjacob4
Copy link
Member

💭 Introduction

Appwrite Functions allow you to extend and customize your Appwrite server functionality by executing your custom code 🤩 You can learn more in our official Appwrite Functions docs.

The backbone of Appwrite Functions is Open Runtimes, an environment for serverless cloud computing. Since all Open Runtime functions are valid Appwrite functions, we are looking for contributors to extend the Open Runtimes Examples repository.

Your task is to implement sendMessage() function using Node. Please make sure to look at existing function examples and use them as a template for your function. This will help you keep the proper structure as well as provide information on how to test the function.

⚡ Function Details

The function must send a message using a specific channel to a receiver. Make sure to introduce function variables as necessary regarding connection to 3rd party services. Supported channels must be Email, SMS, Discord, and Twitter.

Example function payload:

{"type":"SMS","receiver":"+123456789","message":"Programming is fun!"}

Successful function response:

{"success":true}

Error function response:

{"success":false,"message":"Receiver not in correct format."}

🎯 Requirements

  • Experience with Appwrite.
  • Experience with Node.
  • Knowledge to implement sendMessage function.
  • Experience with Docker.

✅ Task Summary

  • Ask to be assigned to the issue.
  • Implement function sendMessage() in Node/ folder.
  • Manually execute the newly implemented function to ensure it works.
  • Submit a pull request in open-runtimes/examples and include screenshots of successful execution.

If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

Happy Appwriting!

@christyjacob4 christyjacob4 added feature product / functions Fixes and upgrades for the Appwrite Functions. good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! labels Sep 29, 2022
@AmreshSinha
Copy link
Contributor

Hey @christyjacob4 👋
I would love to work on this!

@christyjacob4
Copy link
Member Author

Hey 👋 all issue assignments for Hacktoberfest will take place on a first come first serve basis starting on October 1st

@itsPriyanshuRaj
Copy link

Hey @christyjacob4 , I would like to contribute to this issue .

@rahulsunil2
Copy link

Hey @christyjacob4 I would like to work on this.

@chandankumar1307
Copy link

Hey @christyjacob4
I have some experience with Node and used Appwrite too in my past projects.
After reading the issue details I have a clear idea of what and how things need to be implemented.
I would love it if you could assign me this issue so that I can start working on it ASAP

@stnguyen90
Copy link
Contributor

@itsPriyanshuRaj, thanks for your interest! 🙏 Good luck!

@rahulsunil2, @chandankumar1307, we're assigning people on a first come first serve basis (after hacktoberfest starts). If @itsPriyanshuRaj, is unable to work on this issue, we'll reassign accordingly.

@itsPriyanshuRaj
Copy link

@stnguyen90 Thanks for assigning it to me. I give my best to complete it.

@darkblade2090
Copy link

Hello @christyjacob4 , i would like to contribute in this.

@stnguyen90
Copy link
Contributor

@darkblade2090, we're assigning people on a first come first serve basis. If @itsPriyanshuRaj isn't able to complete this issue, we'll reassign it accordingly. In the meantime, you can find another Hacktoberfest issue via our website.

@stnguyen90 stnguyen90 linked a pull request Oct 5, 2022 that will close this issue
@shivam2562001
Copy link

@stnguyen90 if it is not assigned to anyone then can you assign this to me

I have gone through above description and I am also have all skills listed in requirements.
I have proposed solution that for email message we can use nodemailer and for sms we can use twillio and for rest they already provided supported apis.

@shivam2562001
Copy link

shivam2562001 commented Mar 12, 2023

once this sms pull request merged then I will add other pull request too @stnguyen90

@codercatdev
Copy link
Contributor

@shivam2562001 added you on this one so you can complete at the same time as #4164, thanks!

@eldadfux
Copy link
Member

Thank you everyone for celebrating Hacktoberfest 22 with us! This issue will now be closed as we're getting ready to celebrate Hacktoberfest 23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues that can win you some cool swags! product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants