Translate 3 Node.js templates to Python

Aperta
#310 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@zeus2611 ci sta già lavorando.

Dal 29/9/2025.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
node.js, python
Ambito
backend, cloud

Direzione di ricerca

Inizia dal README di appwrite/templates per identificare tre template privi di implementazioni Python ma con versioni Node.js. Esamina le cartelle comparabili nella directory Python e le implementazioni Node.js selezionate, quindi crea le cartelle Python corrispondenti con una logica equivalente. Il lavoro è completato quando tutti e tre i template selezionati sono implementati in Python e pronti per la revisione del codice.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

codeday

Introduction

Appwrite allows developers to run serverless functions on Appwrite Cloud. While most of the business logic requires entirely custom code, parts of the application have a generic solution.

To address this problem, Appwrite introduced Function templates, allowing developers to use templates for problems such as Stripe payments, AI prompting, or generating invoices.

Those templates are meant to be extended by the developer to precisely fit the needs of their application. Considering that developers come from different backgrounds and experiences, Appwrite Functions supports templates for over 10 languages.

Starting this issue requires an understanding of Node.js and Python syntax. Finishing this issue will give you a basic understanding of Chat GPT, the code review process, and writing quality code.

Task summary

Your goal is to prepare 3 Appwrite Function templates in Python programming language.

1. Pick 3 templates you want to translate

Look at appwrite/templates README, and look for templates that are missing implementation in Python. Pick 3 templates you want to work on, and make sure they have been implemented in Node.js.

We highly recommend picking an integration template with the tool you are familiar with. If you are up for a challenge, pick the ones you wanted to learn but didn't have time to check out yet.

2. Translate templates from Node.js to Python

For each template, prepare a folder inside the Python directory. Initial setup shouldn't be a problem if you are familiar with Python, but it's also perfectly fine to look at other Python templates to see what they look like.

Once you have folders ready, look at the template implementation in Node.js, which shows you how the template was implemented in JavaScript. You should read the code and understand it clearly.

Finally, re-implement the same logic in Python. It's not necessary to follow it line-by-line, but it's best to follow the same logical structure.

In this step, you are allowed to use ChatGPT to help you out, but please don't copy entire chunks of code. Use it as a tool to show you what a solution could look like, but make sure you are the one making a decision about what the final PR looks like.

Lingua principale
HTML
Stelle
174
Fork
129
Merge medio
14h 35m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di appwrite/templates

Tutte le issue di appwrite/templates

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.