Available in Classic and VPC
You can find various sample codes that help you understand and use Cloud Functions concepts.
The following shows sample code for Node.js and Python: You can check all sample codes on NAVER Cloud Platform GitHub.
| Topic | Description | Detailed description | Sample code |
|---|---|---|---|
| REST API | Implement HTTP REST API. | Implement a REST API that uses API Gateway triggers to add, view, delete, and update student records in a database. | Node.js Python |
| Object Storage integrations | Create/view/delete buckets. | Use the Object Storage SDK to create buckets, list buckets, and delete buckets. | Node.js Python |
| Object Storage integration | Create/view/delete objects. | Use the Object Storage SDK to upload objects to a bucket, list objects, and delete objects. | Node.js Python |
| Cloud DB for MySQL integrations | MySQL data CRUD. | Create the student (studentId, name, age) table and insert, delete, update, and view data. | Node,js Python |
| Cloud DB for MongoDB integrations | Store MongoDB data. | Store book information (title, author) in MongoDB's books collection. | Node.js Python |
| Cloud DB for Cache integrations | Store data in Cloud DB for Cache. | Store key/value data in Cloud DB for Cache. | Node.js Python |
| Server integrations | Start/stop Server Instance. | Start or stop server instances using Server service OpenAPI. | Node.js Python |
| Slack integrations | Send Slack notifications. | Send Slack notifications when Commits occur using Cloud Functions GitHub Trigger. | Node.js Python |