A basic nuxt+hapi scaffold with examples for:
- Multi-language
- Multi-platform (mobile/desktop)
- Custom routing
- Server UT
$ git clone git@github.com:peremp/nuxt-hapi-scaffold.git
$ cd nuxt-hapi-scaffold
$ docker-compose up
$ git clone git@github.com:peremp/nuxt-hapi-scaffold.git
$ cd nuxt-hapi-scaffold
$ yarn install
$ yarn run dev
# 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
# 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
- Vue.js documentation: https://vuejs.org/
- Nuxt.js documentation: https://nuxtjs.org
- Hapi.js documentation: https://hapijs.com/