suf-stack-aws-koa-nuxt
SUF-stack yeoman generator for AWS/Koa.js/Nuxt.js
SUF = Serverless Universal Full-Stack
A SUF-stack app enables the serverless deployment of both an optimized frontend and an extendable/secure backend. All code is in the same language (modern transpiled Javascript) and deployed at the same time.
Quick Start
npm install -g yonpm install -g generator-suf-stack-aws-koa-nuxtmkdir <appname>cd <appname>yo suf-stack-aws-koa-nuxt
Be sure to read the README.md that is generated in your project for more details
Using
- Serverless Framework
- Infrastructure as code
- Functions as a Service (pay only for what you use, scale up automatically)
- Amazon AWS
- Koa.js
- backend web framework in Node.js (Javascript)
- Nuxt.js
- Universal Vue.js Framework
- Webpack orchestration
Features
- Infrastructure
- Serverless: no OS patching, or babysitting instances
- Automatic capacity scaling
- CDN for improved site speed via AWS CloudFront
- with compiled static assets loaded from S3
- Detailed logging in AWS CloudFront
- Universal Frontend (Nuxt.js)
- Node.js backend (Koa.js)
- Modern and Lightweight
- Native support for async/await
- Flexible logging via bunyan
- Nested routers used to map folder paths to URL paths
Requirements
- Node.js 10+
- yarn
- Yeoman
- AWS account