47 lines
804 B
Markdown
47 lines
804 B
Markdown
|
# demo-web
|
||
|
|
||
|
## 🧰 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 (20.0) |
|
||
|
| Entrypoint | `src/main.js` |
|
||
|
| Build Commands | `npm install` |
|
||
|
| Permissions | `any` |
|
||
|
| Timeout (Seconds) | 15 |
|
||
|
|
||
|
## 🔒 Environment Variables
|
||
|
|
||
|
No environment variables required.
|