“Hello world”: Your First Serverless Function
This is the basic example of how to get started with serverless functions, API endpoints, and the Serverless Framework. This example uses NodeJS for the function.
This is the basic example of how to get started with serverless functions, API endpoints, and the Serverless Framework. This example uses NodeJS for the function.
This is the basic example using the Bref plugin with the Serverless framework. Bref creates a runtime for PHP on AWS so you can use PHP to write out your functions instead of JavaScript. More information on Bref is available here.
Looking for instant post updates without republishing or refreshing a page? Check this out 😎…
Occasionaly, you’ll need to hash some information: an email, a password, your grandma’s recipe for jambalaya 😋 … If you need to hash any data (like this integration), you can do something like the following…
Sometimes you need to check where someone’s IP address. However, you cannot do this directly in the browser, and traditionally you might have relied on a PHP server server to do this work. Never fear, a serverless service is here! 🤓
While you might already know how to check for an IP address, you might also want to gather a little more information about a user’s location based on their IP address. ipstack (yes, all lowercased) is one of the best services for this, and you can get started for free.
There are several newsletter services, but MailChimp is one of the old standbys. If you need to collect contact information, or if you want to send any information to another service, this function is for you! With this function, we essentially create a webhook to talk to a 3rd party