generator-suf-stack-aws-koa-nuxt

1.2.1 • Public • Published

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 yo
npm install -g generator-suf-stack-aws-koa-nuxt
mkdir <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

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)
    • Native support for .vue files
    • Hot reloading in development
    • Server-side rendering for improved site speed and SEO
    • Automatic code splitting
    • Path-based routing
    • Pre-processors for SCSS, LESS, Stylus, etc
    • Eslint based automated linting
    • Ecosystems for Nuxt.js and Vue.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

Readme

Keywords

Package Sidebar

Install

npm i generator-suf-stack-aws-koa-nuxt

Weekly Downloads

48

Version

1.2.1

License

MIT

Unpacked Size

544 kB

Total Files

39

Last publish

Collaborators

  • phlogisticfugu