ap-wsd-task
Created by Alex Pilugin as a technical assignment for Wall Street Docs in January 2021.
This Nuxt Universal (SSR) web app is bootstrapped with npx create-nuxt-app
This web application support SCSS preprocessor: https://nuxtjs.org/faq/pre-processors/
Main feature of this application is Server Middleware:
# Server Middleware
serverMiddleware: {
'/api': '~/api'
},
Build Setup
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
For detailed explanation on how things work, check out Nuxt.js docs.
Screenshots
Update 03 Feb 2021
I had to create my own component to depict the audio waveform based on svg (scalable vector graphics) to support responsive design (window's resize event). There is some delay with clicking "Play" button and the *canplay event (audio.oncanplay) since the audio component needs time to download a audio file. This application doesn't use Vuex and SCSS (I can add it for money, not for free)