Back

Appwrite Function Using Typescript

  • 0
  • Self Hosted
  • Functions
შონია
8 Jul, 2024, 13:00

Hey, is there any way to create a function on appwrite using typescript? I selected node js, should I choose anything other?

TL;DR
Developers looking to create an Appwrite function using Typescript for Node.js should update the `appwrite.json` file to handle the changes or compile it to JavaScript before deployment, as the server won't run Typescript directly. They can follow the steps outlined in the repository found at the provided link for more detailed instructions.
შონია
8 Jul, 2024, 13:24

thank you!

Binyamin
8 Jul, 2024, 13:25

Make sure to update your appwrite.json file to handle the changes or compile it to JS before deploying the function, as node won't run typescript on the server

შონია
8 Jul, 2024, 13:25

aha, so, what are the steps

შონია
8 Jul, 2024, 13:25
შონია
8 Jul, 2024, 13:25

when I go here, choose node.js

შონია
8 Jul, 2024, 13:26

and next,next

შონია
8 Jul, 2024, 13:26
შონია
8 Jul, 2024, 13:26

existing repo?

შონია
8 Jul, 2024, 13:26

or what should I do

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more