Files
Luke Hagar 683aa0abac split funcs
2024-02-12 08:47:36 -06:00

49 lines
921 B
Markdown

# ⚡ 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:
```text
Hello, World!
```
### POST, PUT, PATCH, DELETE /
- Returns a "Learn More" JSON response.
**Response**
Sample `200` Response:
```json
{
"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.