jlopezxs / nuxt-hapi-scaffold

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt-hapi-scaffold

ESLint Issues Stars

A basic nuxt+hapi scaffold with examples for:

  • Multi-language
  • Multi-platform (mobile/desktop)
  • Custom routing
  • Server UT

Installation

With Docker

$ git clone git@github.com:peremp/nuxt-hapi-scaffold.git
$ cd nuxt-hapi-scaffold
$ docker-compose up

Local

$ git clone git@github.com:peremp/nuxt-hapi-scaffold.git
$ cd nuxt-hapi-scaffold
$ yarn install
$ yarn run dev

Commands

Unit testing

# Client code tests
$ yarn run test:client

# Client code tests with auto-execution
$ yarn run tdd:client

# Server code tests
$ yarn run test:server

# Server code tests with auto-execution
$ yarn run tdd:server

Nuxt

# Build your application with webpack and minify the JS & CSS.
$ yarn run build

# Start the server in production mode (after build)
$ yarn run start

# Build the application and generate every route as a HTML file (used for static hosting).
$ yarn run generate

Documentation

About


Languages

Language:HTML 41.2%Language:JavaScript 36.8%Language:CSS 17.4%Language:Vue 4.2%Language:Dockerfile 0.4%