Skip to content

Latest commit

 

History

History

frontend

COViRondelle2021 frontend

Vue.js frontend application for COViRondelle2021

  • Communicates with station using websockets

Installation

Run the following commands in this directory.

With Docker :

docker build -t frontend .
docker build --no-cache -t frontend . # If you have issues with packages not updating or installing

Without Docker :

yarn install

Usage

Set station URL for websockets messages

.env contains the URL of station (python app). This can be changed before running the frontend's app with any URL or IP address.

Execute app

Run the following commands in this directory.

With Docker :

docker run frontend

Without Docker :

yarn serve

The app will be running on localhost:5000.

Contributing

The following commands do not concern Docker.

Run tests

yarn test

Check code style

Verify code style :

yarn lint

Fix code style :

yarn lint --fix

Start storybook

yarn storybook

Storybook will be running on localhost:9001.

Build production app

yarn build