Skip to content

aya-experience/aya-experience.github.io

Repository files navigation

AYA App

AYA Website & App

Build Status Nuxt Xo Aframe Issues

Getting Started

No Prerequisites needed. Just download or clone the project then follow the build setup.

Build Setup

# install dependencies
$ npm install # Or yarn install

# post-installation (extract data from CMS)
$ npm run extract

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

Running the tests

Unit Testing and End-To-End Testing

Unit Testing using Jest

Testing Vue components with Jest + vue-test-utils

# Launch jest
$ npm run unit

And TDD mode using watch option

When developing a new component / feature

# Launch jest using watch option
$ npm run tdd

End-To-End Testing using Cypress

Lauch Cypress with record option:

# Launch e2e tests
$ npm run e2e

Results available in GUI lauching:

# Launch cypress GUI
$ npm run cypress:open

Full option Testing

For pre-commit or CI, use linter, unit and e2e tests:

# Launch linter, unit and e2e tests
$ npm run tests

Deployment

The project is deployed on Github Page.

Built With

  • Nuxt - Universal Vue.js Applications
  • NPM - The package manager
  • AFRAME - WebVR Framework
  • Prismic - Headless API CMS

Authors

See also the list of contributors who participated in this project.