Skip to content

Step by step guide to building a serverless service with node.js

Notifications You must be signed in to change notification settings

benjaminkitt/serverless-microservice-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

serverless-microservice-guide

Step by step guide to building a Serverless service with Node.js.

Have a quick read of the prerequisites below, then jump into Step 1!

Prerequisites

AWS Account

This project uses Amazon Web Services (AWS) to host the service. You can build and test the code without an account, but it's much more fun to deploy it! If you don't qualify for the AWS free tier, this project will cost no more than a few pennies. You will use the Lambda and API Gateway services.

Node.js

You'll need Node.js installed for this project. At the time of writing, AWS Lambda uses version 4.3.2 of Node , so I recommend you use the same. I use nvm to manage Node versions - there are alternatives listed for Windows users in the nvm README.

Typescript support (optional)

This project uses Typescript (a typed superset of JavaScript.) An editor with Typescript support is helpful when coding with Typescript. Some options include:

Repo Structure

To follow this guide, simply clone this repo and follow the tutorial steps. If you get stuck at ay point, there is a branch that represents the project at the end of each step. For example, the Step 1 branch represents what your project should look like (minus gitignored files) at the end of Step 1.

If you check out a branch, be sure to run npm install to make sure that all dependencies are installed and the code is compiled.

About

Step by step guide to building a serverless service with node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published