All Projects → harijoe → Serverless Boilerplate

harijoe / Serverless Boilerplate

Minimal yet super-functional serverless boilerplate

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Serverless Boilerplate

Node Typescript Boilerplate
Minimalistic project template to jump start a Node.js back-end application in TypeScript. ESLint, Jest and type definitions included.
Stars: ✭ 1,061 (+334.84%)
Mutual labels:  serverless, boilerplate
Serverless Authentication Boilerplate
Generic authentication boilerplate for Serverless framework
Stars: ✭ 563 (+130.74%)
Mutual labels:  serverless, boilerplate
Serverless Architecture Boilerplate
📦 ⚡️ 🚀 Boilerplate to organize and deploy big projects using AWS API Gateway and AWS Lambda with Serverless Framework
Stars: ✭ 269 (+10.25%)
Mutual labels:  serverless, boilerplate
Serverless Slack App
A Serverless.js Slack App Boilerplate with OAuth and Bot actions
Stars: ✭ 217 (-11.07%)
Mutual labels:  serverless, boilerplate
Serverless Prisma
AWS Serverless Prisma Boilerplate
Stars: ✭ 126 (-48.36%)
Mutual labels:  serverless, boilerplate
Ng Toolkit
⭐️ Angular tool-box! Start your PWA in two steps! Add Serverless support for existing projects and much more
Stars: ✭ 1,116 (+357.38%)
Mutual labels:  serverless, boilerplate
React Firebase Starter
Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
Stars: ✭ 4,366 (+1689.34%)
Mutual labels:  serverless, boilerplate
Cloudflare Workers Webpack Boilerplate
A superbly simple, minimal-config template for building, bundling and deploying Cloudflare Workers with Webpack 🚀
Stars: ✭ 101 (-58.61%)
Mutual labels:  serverless, boilerplate
Commerceql
UNMAINTAINED
Stars: ✭ 217 (-11.07%)
Mutual labels:  serverless, boilerplate
React Firebase Admin
React ⚛️ starter kit with Firebase 🔥 and Bulma for setting up an admin dashboard - Highly scalable, PWA, Serverless
Stars: ✭ 232 (-4.92%)
Mutual labels:  serverless, boilerplate
Komiser
☁️ Cloud Environment Inspector 👮🔒 💰
Stars: ✭ 2,684 (+1000%)
Mutual labels:  serverless
Node Api Boilerplate
DDD/Clean Architecture inspired boilerplate for Node web APIs
Stars: ✭ 2,797 (+1046.31%)
Mutual labels:  boilerplate
Mercury Parser Api
🚀 A drop-in replacement for the Mercury Parser API.
Stars: ✭ 239 (-2.05%)
Mutual labels:  serverless
Typo3 Docker Boilerplate
🍲 TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
Stars: ✭ 240 (-1.64%)
Mutual labels:  boilerplate
Baker
Orchestrate microservice-based process flows
Stars: ✭ 233 (-4.51%)
Mutual labels:  serverless
Gulp Front
Frontend boilerplate and framework based on gulp, pug, stylus and babel
Stars: ✭ 237 (-2.87%)
Mutual labels:  boilerplate
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (-4.92%)
Mutual labels:  boilerplate
Skeleton Php
⚡️ This package provides a wonderful PHP skeleton to start building your next package idea.
Stars: ✭ 234 (-4.1%)
Mutual labels:  boilerplate
Redpotion
We believe iPhone development should be clean, scalable, and fast with a language that developers not only enjoy, but actively choose. With the advent of Ruby for iPhone development the RubyMotion community has combined and tested the most active and powerful gems into a single package called RedPotion
Stars: ✭ 233 (-4.51%)
Mutual labels:  boilerplate
Graphql Mongodb Server
A GraphQL MongoDB server.
Stars: ✭ 242 (-0.82%)
Mutual labels:  boilerplate

Serverless Boilerplate ⚡️

The easiest serverless boilerplate to get started with 👌

by @JulienVallini

Motivation

Serverless is awesome : no more server to setup, ultra scalable and very cheap. But I found not very easy to find the perfect setup to get started with. Using serverless brings a lot of not well documented pitfalls that drain a considerable amount of time and energy. I made this boilerplate after gathering the solutions to all of these.

The goal is to keep these pitfalls out of the way.

Installation

# If you don't already have the serverless cli installed, do that
npm i -g serverless

# If it's the first time you use aws, you need to configure credentials
# https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md

# Use the serverless cli to install this repo
serverless install --url https://github.com/harijoe/serverless-boilerplate --name <your-service-name>

# cd into project and set it up
cd <your-service-name>

# Install dependencies
npm i

# Install dynamoDB libs
sls dynamodb install

How to use it ?

First, change service name in serverless.yml !

To start offline development:

npm start

To deploy:

sls deploy -s <specify-a-stage>

Current available environments are staging and production but you can configure any environment you like in env.yml

What's included ?

  • Environments
  • Webpack
  • Offline
  • DynamoDB
  • Middlewares
  • Prettier
  • Module by absolute path resolution

Environments

Environments and environment variables can be configured in env.yml. dev is the one used by default. You can deploy to staging or production by using sls deploy -s prod. A different dynamoDB instance for each environment will be created.

Prettier

Best code formatting tool. It will be automatically run on each commit.

Tweak .prettierrc to match your own flavor.

Webpack

serverless-webpack allows the use of babel plugins to enable modern javascript features. You should not modify its configuration.

Tweak .babelrc to add plugins you want to use.

Offline

serverless-offline is configured to enable offline development, use it with npm run start

DynamoDB

Support for DynamoDB both locally and in the cloud. It's a quite easy to use nosql database

Middlewares

Handly is included. It's a handy wrapper for serverless handlers applying very useful middlewares.

License

Serverless Boilerplate is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].