Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.09 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.09 KB

GWELLS web applications

Introduction

This folder houses web applications being developed for the GWELLS project.

Qualified Well Driller Registry

The Registry frontend app provides a user interface for accessing the Registry API. This app is located at /gwells/registries/ (base dir of the registries urls)

Development

The GWELLS frontend web applications are developed with the Vue.JS framework.

Customize configuration

See Configuration Reference.

Serving the web app

Project setup

npm install

Serving the web app

# Compiles and hot-reloads for development, at localhost:8080
npm run serve
# Compiles and minifies for production
NODE_ENV=production npm run build

Unit tests

Unit tests use the jest testing framework and vue-test-utils. npm run test runs the tests and outputs coverage information to the test/unit/coverage folder.

# run unit tests
npm run test:unit

# auto-run tests with watcher
npm run test:unit -- --watch

Lints and fixes files

npm run lint