This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # om namah shivay | |
| # see https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml for more info | |
| runtime: nodejs | |
| env: flex | |
| resources: | |
| cpu: 1 | |
| memory_gb: 0.5 | |
| disk_size_gb: 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // om namah shivay | |
| package main | |
| import ( | |
| "net/http" | |
| "log" | |
| "encoding/json" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # om namah shivay | |
| # See https://cloud.google.com/appengine/docs/flexible/go/configuring-your-app-with-app-yaml | |
| # and https://cloud.google.com/appengine/docs/flexible/go/reference/app-yaml for more info | |
| runtime: go | |
| env: flex | |
| service: go | |
| # The settings below are to reduce costs during testing and not appropriate for production use. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # om namah shivay | |
| from flask import Flask | |
| from flask import jsonify | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def hello(): | |
| dictionary = {'message': 'Hello from Python!'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # om namah shivay | |
| # See https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml | |
| # and https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml for more info | |
| runtime: python | |
| runtime_config: | |
| python_version: 3 | |
| env: flex | |
| service: python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Flask==1.0.2 | |
| gunicorn==19.8.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // om namah shivay | |
| const express = require('express'); | |
| const app = express(); | |
| app.use('/', (req, res) => { | |
| res.json({ 'message': 'Hello from Node!' }); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "node", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "hello.js", | |
| "scripts": { | |
| "start": "node hello.js", | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "author": "Raj Chaudhary", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # om namah shivay | |
| # See https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml | |
| # and https://cloud.google.com/appengine/docs/flexible/nodejs/reference/app-yaml for more info | |
| runtime: nodejs | |
| env: flex | |
| service: default | |
| # The settings below are to reduce costs during testing and not appropriate for production use. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // om namah shivay | |
| // imports the entire AWS SDK | |
| const aws = require('aws-sdk'); | |
| aws.config.update({ | |
| region: 'us-east-1', | |
| endpoint: 'https://dynamodb.us-east-1.amazonaws.com' | |
| }); |