In this tutorial, a step-by-step guide to create and deploy a RESTful Serverless microservice Node.js + SQLite on AWS lambda.
If you what you need is exposing some static data over HTTP and you are happy with a serverless architecture, this article is for you.
npm install --save express serverless-http
As you probably already know, Express.js is the lightweight node framework to handle HTTP requests that will be used in our index.js.
This code declares one route returning “Hello” when the home URL (/) is…
// create ES6 anonymous function and use it
printer = (t) => console.log(t);
Java introduced lambda expression too from version 8, with a similar expression syntax, but the difference is that every variable in Java has a type (either native or a class/interface), and everything has to stay in a class (no functions, only methods). …
Mysql supports a config option called
When enabled (add
/etc/mysql.cnf or any included file from it), Mysql will print all the executed queries into a log file (see the specific documentation of your version to understand where the file will be written based on settings).
The general log is a useful setting to debug queries coming from the ORM when developing locally. …