Skip to content
Snippets Groups Projects
README.md 751 B
Newer Older
# DNA analyser frontend
xkoloma1's avatar
xkoloma1 committed

## Project setup
xkoloma1's avatar
xkoloma1 committed
```
xkoloma1's avatar
xkoloma1 committed
```

### Compiles and hot-reloads for development
```
npm run serve
```
xkoloma1's avatar
xkoloma1 committed

### Compiles and minifies for production (backend/build/resources/main/static)
```
npm run build
```
xkoloma1's avatar
xkoloma1 committed

### Run your unit tests
```
npm run test:unit
```
xkoloma1's avatar
xkoloma1 committed

### Run your end-to-end tests
```
npm run test:e2e
```
xkoloma1's avatar
xkoloma1 committed

### Lints and fixes files
```
npm run lint
```
xkoloma1's avatar
xkoloma1 committed

## Code documentation
xkoloma1's avatar
xkoloma1 committed

### Store
Global store handles user authorisation.
xkoloma1's avatar
xkoloma1 committed

Plugins:
- Work progress components - `src/components/core/work-progress.vue`
xkoloma1's avatar
xkoloma1 committed

### Event bus global events
Global event bus is created in `main.js`.
xkoloma1's avatar
xkoloma1 committed

- `reloadSequences` - handled in `src/components/sequences/list.vue`
- `newSequence` - handled in `src/components/sequences/overview.vue`