README.md 4.36 KB
Newer Older
antoine masson's avatar
v0.87    
antoine masson committed
1
# Eawag Survey Client interface
antoine masson's avatar
init  
antoine masson committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
antoine masson's avatar
v0.87    
antoine masson committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96


## Files

    ./LICENSE : MIT License
    ./README.md
    ./babel.config.js
    ./filename.txt : this file list generated using tree -ifI node_modules > filename.txt
    ./package-lock.json : npm file for managing packages
    ./package.json : npm list of command and packages installed for this project
    ./public : external fiile needed for the project
        ./public/favicon.ico : icon of the application
        ./public/index.html : index page for webserver
        ./public/logoeawag.png : eawag logo
    ./src : project files
        ./src/App.vue : main Vue application
        ./src/assets : add features
            ./src/assets/countries.js : list of countries
            ./src/assets/flags : flags (in .svg)
        ./src/components : Vue components
            ./src/components/AlternativesDisp.vue : Display a list of alternatives
            ./src/components/AlternativesSort.vue : Sort a list of alternatives
            ./src/components/Conclusion_rational.vue : Display the conclusion for rational survey
            ./src/components/ImgItem.vue : Display a box with a picture, a caption and info and click actions
            ./src/components/ObjectivesSort.vue : Swing and Trade-off sorting for objectives
            ./src/components/PrePostSurvey.vue : Pre or Post survey display
            ./src/components/SelectLang.vue : Language selection
            ./src/components/form_input : Form input for post and pre survey
                ./src/components/form_input/buttons_input.vue :
                ./src/components/form_input/checkboxes_input.vue
                ./src/components/form_input/dragdrop_input.vue
                ./src/components/form_input/numerical_input.vue
                ./src/components/form_input/numslide_input.vue
                ./src/components/form_input/stickslide_input.vue
                ./src/components/form_input/string_input.vue
                ./src/components/form_input/text_input.vue
            ./src/components/poc.vue : Person of contact display
            ./src/components/popup_card.vue : Display a popup for alternative or objective presentation
        ./src/helpers : common functions
            ./src/helpers/api.js : for API communication
            ./src/helpers/dnd.js : for drag and drop inputs
            ./src/helpers/generic.js : diverse function for sorting, normalize objects
            ./src/helpers/tradeoff.js : tradeoff numerical funct
        ./src/layouts : page layouts
            ./src/layouts/Main.vue : layout used in all the project
        ./src/main.js : configuration file for Vue and starting javascript file
        ./src/quasar.js : configuration file quasar 
        ./src/router : Vue Router
            ./src/router/index.js : Router config file
        ./src/store : Vuex store files
            ./src/store/index.js : config and main func for store
            ./src/store/modules
                ./src/store/modules/auth.js : func for authentification
                ./src/store/modules/survey.js : func for survey
        ./src/styles : CSS Style
            ./src/styles/quasar.sass
            ./src/styles/quasar.variables.sass
        ./src/views : Main Vue View
            ./src/views/AccessUrl.vue : Used when using direct access url entry
            ./src/views/Login.vue : Login (main) page
            ./src/views/NotFoundComponent.vue : 404 errors
            ./src/views/PostSurvey.vue : Post survey
            ./src/views/PreSurvey.vue : Pre survey
            ./src/views/RationalSurvey.vue : Rational survey
            ./src/views/RedirectUrl.vue : Used when user is redirect to another url after the survey
            ./src/views/SurveyIndex.vue : This componets is the hub when a user arrive (after loging, access...) it relaod previosu data (if any) and redirect user where it should goes
            ./src/views/TokenUrl.vue : Used if token is entred in URL instead of loging page
            ./src/views/WelcomePage.vue : display survey welcome page
    ./vue.config.js : configuration file for Vue
    ./yarn.lock : yarn file for managing packages
    
    13 directories, 304 files