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

🚀 Feature: Add Sync with Meilisearch for Kotlin #192

Closed
6 tasks
gewenyu99 opened this issue Oct 1, 2023 · 16 comments · Fixed by #234
Closed
6 tasks

🚀 Feature: Add Sync with Meilisearch for Kotlin #192

gewenyu99 opened this issue Oct 1, 2023 · 16 comments · Fixed by #234
Assignees
Labels
hacktoberfest Issues for Hacktoberfest 2023

Comments

@gewenyu99
Copy link

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

Your task is to implement the Sync with Meilisearch function in Kotlin. You can look at the existing Appwrite Functions Templates in another coding language.

Your function should behave and be implemented similarly to existing Sync with Meilisearch Node.js template.

Tasks summary:

  • Fork & clone Appwrite's templates repository
  • Create a branch feat-implement-sync-with-meilisearch-kotlin
  • Write code for the function in folder kotlin/sync-with-meilisearch/.
  • Test the function using Appwrite, provide a video.
  • Write a README.md explaining what the function does, how to use it, and customize it. Here is an example.
  • Submit a pull request to our templates repository

If you need any help, contact us on our Discord server.

Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊

Happy Appwriting!

@gewenyu99 gewenyu99 added the hacktoberfest Issues for Hacktoberfest 2023 label Oct 1, 2023
@mohith2883
Copy link

Hey @gewenyu99 can u assign me

@loks0n
Copy link
Member

loks0n commented Oct 3, 2023

Awesome! I have assigned you @mohith2883 🥳

Notes:

  • Please update us with your progress every 3 days, so that we know that you are working on it.
  • Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

@loks0n loks0n assigned loks0n and mohith2883 and unassigned loks0n Oct 3, 2023
@Haimantika
Copy link

Hi @mohith2883 is there any update?

@ShamanthOP
Copy link
Contributor

Hey @Haimantika I'd like to take this up. Can you assign this to me

@Haimantika
Copy link

Hi @mohith2883 unassigning the issue due to inactivity. @ShamanthOP the issue is yours now, please update every 3 days

@Haimantika Haimantika assigned ShamanthOP and unassigned mohith2883 Oct 8, 2023
@Haimantika
Copy link

Hi @ShamanthOP is there an update? We will have to unassign the issue from you due to inactivity

@ShamanthOP
Copy link
Contributor

Hey I'm having trouble serving static files ... Hope to resolve it soon

@gewenyu99
Copy link
Author

Hey I'm having trouble serving static files ... Hope to resolve it soon

What static files do you need to serve?

@ShamanthOP
Copy link
Contributor

ShamanthOP commented Oct 12, 2023

@gewenyu99 HTML file 🔗

@gewenyu99
Copy link
Author

Ohhh coool, @ShamanthOP can I see your code?

@ShamanthOP
Copy link
Contributor

Hey @gewenyu99 Check this out #234

@gewenyu99
Copy link
Author

@ShamanthOP I don't see anything obviously wrong. How about this, try these steps and see where it fails:

  1. Return a plain response
  2. Return a "

    HELLOOOOO

    " string as HTML
  3. Return a static HTML without the Util functions.
  4. Use your util functions.

I'm wondering where the problem might lie, lmk!

@ShamanthOP
Copy link
Contributor

Hey @gewenyu99 the current code in #234 is working fine. The problem is that I'm not able to read the HTML file from say static/index.html (support post)

@gewenyu99
Copy link
Author

Hey @gewenyu99 the current code in #234 is working fine. The problem is that I'm not able to read the HTML file from say static/index.html (support post)

Ahhh I see. @ShamanthOP The root directory isn't going to be relative from your code folder because your function is invoked from a runtime that treats it as a dependency. So the root level directory is going to be different.

Is there a way to normalize paths? Maybe try this, print the path of ./ and experiment with where your paths are based from.

https://stackoverflow.com/questions/64171104/how-to-get-the-current-working-directory-in-kotlin

@gewenyu99
Copy link
Author

also @ShamanthOP try joining office hours, we can debug together live :P

@ShamanthOP
Copy link
Contributor

also @ShamanthOP try joining office hours, we can debug together live :P

Sure. I'll experiment with this and I'll let you know⚡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues for Hacktoberfest 2023
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants