mirror of
https://github.com/LukeHagar/appwrite-starter-function.git
synced 2025-12-06 04:19:14 +00:00
⚡ Node.js Starter Function
A simple starter function. Edit src/main.js to get started and create something awesome! 🚀
🧰 Usage
GET /
- Returns a "Hello, World!" message.
Response
Sample 200 Response:
Hello, World!
POST, PUT, PATCH, DELETE /
- Returns a "Learn More" JSON response.
Response
Sample 200 Response:
{
"motto": "Build like a team of hundreds_",
"learn": "https://appwrite.io/docs",
"connect": "https://appwrite.io/discord",
"getInspired": "https://builtwith.appwrite.io"
}
⚙️ Configuration
| Setting | Value |
|---|---|
| Runtime | Node (18.0) |
| Entrypoint | src/main.js |
| Build Commands | npm install |
| Permissions | any |
| Timeout (Seconds) | 15 |
🔒 Environment Variables
No environment variables required.