{"id":10625,"date":"2016-02-08T12:11:55","date_gmt":"2016-02-08T10:11:55","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=10625"},"modified":"2016-01-29T11:55:27","modified_gmt":"2016-01-29T09:55:27","slug":"serverless-rest-api-minutes-serverless-framework","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/","title":{"rendered":"A Serverless REST API in Minutes with Serverless Framework"},"content":{"rendered":"<p>The <a href=\"http:\/\/www.serverless.com\">Serverless Framework<\/a> (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications without the hassle of maintaining servers.<\/p>\n<p>The Framework relies exclusively on <a href=\"https:\/\/aws.amazon.com\/lambda\/\">Amazon Web Services\u2019 Lambda<\/a> technology to run your code in the cloud. Lambda is unique in that it containerizes your code and auto-scales those containers for you, with zero administration required from developers. For clarity, \u201cserverless\u201d means the developer does not have to think about servers, even though they exist. AWS handles them. Plus, Lambda only charges you when your code is run, which is an attractive pricing model.<\/p>\n<p>Overall, Lambda is possibly the most efficient resource available in the cloud for running applications. Myself and the full-time team behind the Serverless Framework believe AWS Lambda will be the focal point of the AWS cloud in the future, so we\u2019ve designed the Framework to interpret AWS from the perspective of Lambda.<\/p>\n<p>The Framework seeks to build on Lambda\u2019s benefits and offer a familiar development experience despite Lambda\u2019s nuances. Structure, best practices, optimization, and automation are built in. Further, the Framework allows you to decide how to containerize your logic. You can fit an entire microservice into Lambda or take a nanoservices approach and isolate the logic for each REST API endpoint in its own Lambda function. The result is unprecedented agility.<\/p>\n<p>Now, let\u2019s get a REST API up and running quickly with the Serverless Framework by using a starter\/boilerplate project called <a href=\"https:\/\/github.com\/serverless\/serverless-starter\">the Serverless Starter<\/a>.<\/p>\n<h2>Preparation<\/h2>\n<p>The Serverless Framework is one of the first application frameworks that manages both your application code as well as your infrastructure. First, you will need to give it Access Keys for your AWS account.<\/p>\n<ul>\n<li>Log in or sign up for a <a href=\"https:\/\/aws.amazon.com\/\">new AWS account<\/a>.<\/li>\n<li>Navigate to the Identity &amp; Access Management (IAM) service and create a new User called <code>serverless-admin<\/code>.<\/li>\n<li>Copy the Security Credentials in a safe place (<em>i.e.<\/em>, Access Key ID and the Secret Access Key).<\/li>\n<li>Assign the \u201cAdministratorAccess\u201d policy to this User. (Later, you can reduce the permissions this IAM User has for security reasons.<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account.png\" rel=\"attachment wp-att-10629\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-10629\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account-1013x1024.png\" alt=\"access-keys-to-AWS-account\" width=\"620\" height=\"627\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account-1013x1024.png 1013w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account-297x300.png 297w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account-768x777.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account-70x70.png 70w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/access-keys-to-AWS-account.png 1977w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<h2>Installation<\/h2>\n<p>Next, make sure you have Node.js v4 or greater installed and then install the Serverless Framework via npm using this command:<\/p>\n<pre class=\" brush:php\">$ npm install serverless -g<\/pre>\n<p>The Framework takes the form of a CLI, creating scaffolding, automating tasks, performing concurrent deployments, and more.<\/p>\n<p>Note that we work closely with multiple teams at AWS to implement best practices. Using the Framework offers you years of AWS expertise and best practices, out of the box.<\/p>\n<p>The CLI can also install existing Serverless Projects that have been published as npm packages. To install the Serverless Starter project, run this:<\/p>\n<pre class=\" brush:php\">$ serverless project install serverless-starter<\/pre>\n<p>You\u2019ll be prompted for some information to customize this project and make it your own. Be sure to enter a globally unique domain, which will be used to name an AWS S3 Bucket that\u2019s automatically created for your project on installation. This bucket stores backups of project information that can be shared across your team. Finally, enter the Access Keys you created in the steps above.<\/p>\n<p>Once you\u2019ve finished the prompts, the following will happen:<\/p>\n<ul>\n<li>The Serverless Project will be downloaded and renamed.<\/li>\n<li>Serverless Plugins used by the Project will be installed.<\/li>\n<li>A project \u201cdevelopment\u201d stage and region will be initialized.<\/li>\n<li>An IAM Role will be created for your Project; its Lambda functions will use it to access other AWS resources in your account (<em>e.g.<\/em>, a DynamoDb table).<\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences.png\" rel=\"attachment wp-att-10630\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-10630\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences-1024x623.png\" alt=\"Install-dependences\" width=\"620\" height=\"377\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences-1024x623.png 1024w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences-300x183.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences-768x468.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Install-dependences.png 1999w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<h2>Architecture<\/h2>\n<p>The Serverless Framework is designed to help you share code across your Lambda functions. It does this by including the functions\u2019 parent folders and any code those parent folders hold within the deployed package.<\/p>\n<p>The top level of these parent folders are called Serverless Components, and they exist in the root of your project. When you deploy any of your project\u2019s functions, each function zips up its entire parent component. That is what\u2019s uploaded to AWS.<\/p>\n<p>In the installed Project, you will see a folder entitled <code>restApi<\/code>. This is a Serverless Component. If you look inside it, you will see the following folders:<\/p>\n<ul>\n<li><strong>lib.<\/strong> This is code shared across all of your functions.<\/li>\n<li><strong>multi.<\/strong> This is a Serverless Module (a folder that contains related Lambda functions). There are multiple Lambda functions in this module, each with a single REST API endpoint. You can see a function\u2019s endpoints by looking at their <code>s-function.json<\/code> file. This is one way you can architect your REST API endpoints.<\/li>\n<li><strong>single.<\/strong> This is another Serverless Module, containing only one Lambda function. However, this Lambda has multiple REST API endpoints associated with it. This single Lambda reads the HTTP method of the incoming request and performs logic accordingly. This is another way you can architect your REST API endpoints.<\/li>\n<\/ul>\n<pre class=\" brush:php\">serverless-starter (project)\r\n|- _meta\r\n|- node_modules\r\n|- restApi (component)\r\n   |- lib\r\n   |- node_modules\r\n   |- multi (module)\r\n      |- create (function)\r\n      |- show (function)\r\n   |- single (module)\r\n      |- all (function<\/pre>\n<h2>Local Development<\/h2>\n<p>To run your functions locally, you can use the following command. Make sure you enter the path to your function as a parameter:<\/p>\n<pre class=\" brush:php\">$ serverless function run restApi\/single\/all<\/pre>\n<p>This command runs your functions locally and emulates the AWS Lambda environment.<\/p>\n<h2>Deployment<\/h2>\n<p>Let\u2019s deploy your Lambda functions using the Serverless deployment dashboard. Run:<\/p>\n<pre class=\" brush:php\">$ serverless dash deploy<\/pre>\n<p>This will display an interactive screen, listing all of the functions and endpoints in your component. Use the arrow keys and press Enter next to each asset you want to deploy.<\/p>\n<p><a href=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework.png\" rel=\"attachment wp-att-10631\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-10631\" src=\"http:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework-1024x737.png\" alt=\"Serverless-Framework\" width=\"620\" height=\"446\" srcset=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework-1024x737.png 1024w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework-300x216.png 300w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework-768x552.png 768w, https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/Serverless-Framework.png 1999w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p>Then hit Enter next to <code>Deploy<\/code>, and the following will happen:<\/p>\n<ul>\n<li>The Framework will make copies of the component for each Lambda function you\u2019ve toggled for deployment.<\/li>\n<li>This project comes with the Serverless Optimizer Plugin, which will browserify and minify your component\u2019s code for each Lambda function, reducing their file size and improving their response times.<\/li>\n<li>The Framework will compress and back up each Lambda function to your Project Bucket on AWS S3 with a timestamp, as well as upload the compressed files directly to AWS Lambda.<\/li>\n<li>Your deployed Lambda functions on AWS will be automatically versioned and aliased to the Project stage you target during deployment (likely your \u201cdevelopment\u201d stage).<\/li>\n<li>The endpoints you selected for deployment will be provisioned on AWS API Gateway and connected to their respective Lambda functions.<\/li>\n<\/ul>\n<p>After deployment has finished, you will be presented with AWS ARNs for your Lambda functions, as well as URLs for any endpoints you deployed.<\/p>\n<p>You\u2019re done! Your serverless REST API is up and running. It\u2019s massively scalable, and it charges you only when it\u2019s called. It doesn\u2019t get more efficient than that.<\/p>\n<blockquote><p><em>We believe good developer tools are completely extensible. So, we\u2019ve spent countless hours refactoring the codebase so that you can replace or extend it via Serverless Plugins. A handful of plugins have already been created by our community, and any specific functionality that you require for your workflow can be easily added.<\/em><\/p>\n<p><em>For more information on all of the above, please check out our <a href=\"http:\/\/docs.serverless.com\/v0.1.0\/docs\">Documentation<\/a>. Nothing makes us happier than a positive <a href=\"https:\/\/twitter.com\/goserverless\">tweet<\/a> or a <a href=\"http:\/\/www.serverless.com\">GitHub<\/a> star. Also, we build this project live in our <a href=\"https:\/\/gitter.im\/serverless\/serverless\">Gitter chat room<\/a>. Please join the chat room for live updates, good people and support. See you in the serverless future!<\/em><\/p><\/blockquote>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/blog.codeship.com\/a-serverless-rest-api-in-minutes\/\">A Serverless REST API in Minutes with Serverless Framework<\/a> from our <a href=\"http:\/\/www.webcodegeeks.com\/join-us\/wcg\/\">WCG partner<\/a> Florian Motlik at the <a href=\"http:\/\/blog.codeship.com\/\">Codeship Blog<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications without the hassle of maintaining servers. The Framework relies exclusively on Amazon Web Services\u2019 Lambda technology to run your code in the cloud. Lambda is unique in that it containerizes your code and &hellip;<\/p>\n","protected":false},"author":137,"featured_media":927,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[322],"class_list":["post-10625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development","tag-rest"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-08T10:11:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Austen Collins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Austen Collins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\"},\"author\":{\"name\":\"Austen Collins\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f8095f74ab7bd491763c131bb41e8e5f\"},\"headline\":\"A Serverless REST API in Minutes with Serverless Framework\",\"datePublished\":\"2016-02-08T10:11:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\"},\"wordCount\":1195,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg\",\"keywords\":[\"REST\"],\"articleSection\":[\"Web Dev\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\",\"name\":\"A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg\",\"datePublished\":\"2016-02-08T10:11:55+00:00\",\"description\":\"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Dev\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/web-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"A Serverless REST API in Minutes with Serverless Framework\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f8095f74ab7bd491763c131bb41e8e5f\",\"name\":\"Austen Collins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0f7f20ed4243a56e09d983a013b72cee67938cd6d5ebb30e6c9133539689ced7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0f7f20ed4243a56e09d983a013b72cee67938cd6d5ebb30e6c9133539689ced7?s=96&d=mm&r=g\",\"caption\":\"Austen Collins\"},\"description\":\"Austen Collins is the founder of Serverless Framework.\",\"url\":\"https:\/\/www.webcodegeeks.com\/author\/austen-collins\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026","description":"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/","og_locale":"en_US","og_type":"article","og_title":"A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026","og_description":"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications","og_url":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2016-02-08T10:11:55+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg","type":"image\/jpeg"}],"author":"Austen Collins","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Austen Collins","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/"},"author":{"name":"Austen Collins","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f8095f74ab7bd491763c131bb41e8e5f"},"headline":"A Serverless REST API in Minutes with Serverless Framework","datePublished":"2016-02-08T10:11:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/"},"wordCount":1195,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg","keywords":["REST"],"articleSection":["Web Dev"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/","url":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/","name":"A Serverless REST API in Minutes with Serverless Framework - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg","datePublished":"2016-02-08T10:11:55+00:00","description":"The Serverless Framework (previously known as JAWS) debuted several months ago and has been rapidly maturing to help engineers build scalable applications","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/web-dev-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/web-development\/serverless-rest-api-minutes-serverless-framework\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Web Dev","item":"https:\/\/www.webcodegeeks.com\/category\/web-development\/"},{"@type":"ListItem","position":3,"name":"A Serverless REST API in Minutes with Serverless Framework"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/f8095f74ab7bd491763c131bb41e8e5f","name":"Austen Collins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0f7f20ed4243a56e09d983a013b72cee67938cd6d5ebb30e6c9133539689ced7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0f7f20ed4243a56e09d983a013b72cee67938cd6d5ebb30e6c9133539689ced7?s=96&d=mm&r=g","caption":"Austen Collins"},"description":"Austen Collins is the founder of Serverless Framework.","url":"https:\/\/www.webcodegeeks.com\/author\/austen-collins\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/10625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/137"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=10625"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/10625\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/927"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=10625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=10625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=10625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}