appwrite / appwrite/console

🚀 Feature: Change deployed function code directly in appwrite console

Open
#1,445 2 comments 2 reactions 0 assignees View on GitHub
enhancement product / functions
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### 🔖 Feature description

It would be nice to have the ability to create/change and deploy appwrite function directly in the appwrite console.

A simple code editor for that would be okay as a first version.

### 🎤 Pitch

Testing and updating cloud (appwrite) function via console itself is a faster way of debugging and testing new changes that we need to implement.

Here's an example of steps we need to do right now
- Init appwrite function if it's not there already
- Make code changes
- Deploy
- Execute either by going to the console or programatically
- Read the logs

In case of using Typescript there's a build step before deployment.

But, if we would be able to edit and deploy function directly in the console, local development steps would not be necessary and we would be debugging and testing (potentially fixing bugs) a lot faster.

---

Inspiration for this comes from AWS Console Lambda service where they have that feature.

Some examples bellow for those who are not familiar with it.

![image](https://github.com/appwrite/console/assets/56090587/e543f4c4-0e72-4140-b7e6-84ca0eb86367)

https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/create-python-aws-lambda-function-hello-world-tutorial-serverless-how-to-example

https://www.youtube.com/watch?v=zoMtiYifsik&t=180s

### 👀 Have you spent some time to check if this issue has been raised before?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.