Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
4099822
Git fix
igogrek Mar 5, 2018
e30d47c
Changes after review
ArturFedorov Mar 5, 2018
fdd10f6
Basic REST request added
igogrek Mar 5, 2018
1b5ed19
export default
ArturFedorov Mar 5, 2018
9678e17
Initial projects view
igogrek Mar 5, 2018
04024c0
Added basic Vuex logic
igogrek Mar 5, 2018
d127f98
Unit test fix
igogrek Mar 5, 2018
9cf2ee2
e2e fix
igogrek Mar 5, 2018
96f5d75
Merge pull request #11 from T-Systems-RUS/typescript-migration-seeders
igogrek Mar 5, 2018
ba98441
Merge remote-tracking branch 'origin/develop' into new-vue-client-wit…
igogrek Mar 5, 2018
ea99b85
Timeout for project
igogrek Mar 5, 2018
d1356e6
Merge pull request #12 from T-Systems-RUS/new-vue-client-with-telekom…
ArturFedorov Mar 5, 2018
4aa7463
Fixed linebreaks
igogrek Mar 6, 2018
8d877be
Merge pull request #13 from T-Systems-RUS/linebreak-fix
igogrek Mar 6, 2018
efd7022
Header style fix + card style
ArturFedorov Mar 9, 2018
0e8626e
Accordeon, date filter, filter panel
ArturFedorov Mar 11, 2018
544cf4e
Remove filter
ArturFedorov Mar 12, 2018
f615029
Filter fix
ArturFedorov Mar 12, 2018
fbf1639
Filter fix
ArturFedorov Mar 12, 2018
ca2316a
Accordeon functionality
ArturFedorov Mar 12, 2018
0123670
Accordeon close/open + tests
ArturFedorov Mar 12, 2018
c9a1aa5
Project -filter
ArturFedorov Mar 13, 2018
c2ea5e6
Project - filter styling logic start
ArturFedorov Mar 13, 2018
fde0263
e2e fix
ArturFedorov Mar 14, 2018
9654511
Project filter and constants
ArturFedorov Mar 15, 2018
692f794
Comments
ArturFedorov Mar 15, 2018
b47c39b
ProjectFilter test
ArturFedorov Mar 18, 2018
538dbcb
Store divided in modules and comments correction unfinished
ArturFedorov Mar 28, 2018
ca6c328
Accordion refactoring unfinished
ArturFedorov Mar 30, 2018
6682069
Accordion refactoring + unit test fix
ArturFedorov Apr 1, 2018
ce174f8
Final changes according to comments
ArturFedorov Apr 2, 2018
f1c25ff
Fixed scrollable filter panel
ArturFedorov Apr 2, 2018
2728b86
Last fix
ArturFedorov Apr 2, 2018
0d971e0
Merge pull request #14 from T-Systems-RUS/telekom-design-style
ArturFedorov Apr 2, 2018
d591e34
eslint-fix
ArturFedorov Apr 2, 2018
ce2f485
git ignore for eslint fix
ArturFedorov Apr 2, 2018
bf59ce5
eslint e2e fix
ArturFedorov Apr 2, 2018
689d481
Merge pull request #15 from T-Systems-RUS/eslint-update
ArturFedorov Apr 2, 2018
6af45d6
new models and migrations
ArturFedorov Apr 3, 2018
eb9eb38
migrations and seeders
ArturFedorov Apr 3, 2018
4e3a0d4
Seeders
ArturFedorov Apr 4, 2018
ef0a4a7
Final seeders + unique id for project
ArturFedorov Apr 5, 2018
44d832b
Project card fix + new interfaces
ArturFedorov Apr 5, 2018
f9354fa
Filter back unfinished
ArturFedorov Apr 5, 2018
ecbd616
Front Project filter rework
ArturFedorov Apr 6, 2018
f007590
FIlter from db + test fix
ArturFedorov Apr 8, 2018
22fa379
Last fixes
ArturFedorov Apr 9, 2018
f888f6c
store insex.ts - comment fix
ArturFedorov Apr 9, 2018
5f4ccfd
ProjectFilterDto constructor
ArturFedorov Apr 9, 2018
ce24c30
Extract loading and set after all SET
ArturFedorov Apr 9, 2018
dfe8f5f
rename computed property
ArturFedorov Apr 9, 2018
0ee6583
Merge pull request #16 from T-Systems-RUS/constants-to-db
ArturFedorov Apr 11, 2018
42250bb
Components templates
ArturFedorov Apr 12, 2018
c127e6d
Store technology module
ArturFedorov Apr 12, 2018
b8ba45f
Chip styling
ArturFedorov Apr 12, 2018
b108170
search input watcher
ArturFedorov Apr 12, 2018
9a2c89e
Technology Picker tests
ArturFedorov Apr 12, 2018
01eba88
Additional chip test
ArturFedorov Apr 12, 2018
15b6dd4
Comment changes
ArturFedorov Apr 13, 2018
10c6852
Merge pull request #17 from T-Systems-RUS/technology-picker
ArturFedorov Apr 13, 2018
308cef3
Getters in projects/ filter state
ArturFedorov Apr 23, 2018
9275c8a
Setting filter in store
ArturFedorov May 2, 2018
2a840c3
Fixed test
ArturFedorov May 2, 2018
e3ef08f
unfinished filter functionality
ArturFedorov May 9, 2018
9e845e2
filter functionality for array properties infinished
ArturFedorov May 10, 2018
a98ac68
test mocks and final functionality of filter
ArturFedorov May 16, 2018
a399af1
Unit tests for project filter
ArturFedorov May 20, 2018
e4254c0
No projects found
ArturFedorov May 20, 2018
1d92987
Changes after review
ArturFedorov May 21, 2018
97c36c6
Merge pull request #18 from T-Systems-RUS/project-filter-functionality
igogrek May 23, 2018
857c6d1
Initial version + multiple bugfixes
igogrek May 23, 2018
c371ede
Store fixes
igogrek May 23, 2018
6b157eb
Animation added + minor fixes
igogrek May 23, 2018
54d24a9
Added placeholder
igogrek May 23, 2018
6495659
Merge pull request #19 from T-Systems-RUS/search-autocomplete
igogrek May 24, 2018
0e97332
Linter fixes
igogrek May 24, 2018
7d9cfce
More linter fixes
igogrek May 24, 2018
5384130
Super basic modal added
igogrek May 24, 2018
d23cee1
Cleanup
igogrek May 24, 2018
f5df6e1
Close button working
igogrek May 24, 2018
14c30dc
Cleanup
igogrek May 24, 2018
cec0e03
Fixed technology picker
igogrek May 24, 2018
ea447c0
Merge pull request #20 from T-Systems-RUS/project-modal
igogrek May 24, 2018
f94b900
Initial autocomplete changes
igogrek May 24, 2018
f181b94
Multiple store + autocomplete changes
igogrek May 24, 2018
241a76e
Cleanup
igogrek May 24, 2018
c9d6121
Cleanup
igogrek May 24, 2018
2c618c7
Github check
igogrek May 24, 2018
769a28b
Merge pull request #21 from T-Systems-RUS/autocomplete-improvements
igogrek May 24, 2018
4ded2ab
Added search to applied filters
igogrek May 25, 2018
9ab2da8
Added value mapper
igogrek May 25, 2018
3532061
Added filter removal
igogrek May 25, 2018
5c791ed
Linter fix
igogrek May 25, 2018
d4ac64b
Added technologies
igogrek May 25, 2018
f8c9636
Folder names fixed
igogrek May 25, 2018
402616a
Merge pull request #22 from T-Systems-RUS/applied-filters
igogrek May 25, 2018
25d5474
gray out filters with no values in projects
ArturFedorov May 27, 2018
3570de6
filter apllied values initial sync fix
ArturFedorov May 28, 2018
9fa0b10
Test fixes
ArturFedorov May 28, 2018
f24f7e8
Test fix
ArturFedorov May 28, 2018
676ef91
Acordion togle fix
ArturFedorov May 31, 2018
f14d984
Merge pull request #23 from T-Systems-RUS/project-filter-fix
ArturFedorov May 31, 2018
e3e89ea
Project component store adjustmant
ArturFedorov May 31, 2018
e74a5e0
Readme fix
igogrek Jun 5, 2018
e9363c4
Linter fixes
igogrek Jun 5, 2018
7fc1dbf
Filter layout fix
igogrek Jun 5, 2018
1ed2124
Added linter to build
igogrek Jun 5, 2018
0502140
Merge pull request #24 from T-Systems-RUS/filter-cleanup
igogrek Jun 5, 2018
c5148a0
Added filter collapse animations
igogrek Jun 5, 2018
02829e6
initial markup + TechnologyPanel
ArturFedorov Jun 5, 2018
78d7f45
image routing project
ArturFedorov Jun 6, 2018
9000a16
capitalize filter
ArturFedorov Jun 6, 2018
5a45a8a
Initial presentation added
igogrek Jun 6, 2018
3ffebb9
Cleanup
igogrek Jun 6, 2018
e0b2be1
More cleanup
igogrek Jun 6, 2018
dff0ce1
Even more cleanup
igogrek Jun 6, 2018
9a8d416
Merge pull request #25 from T-Systems-RUS/powerpoint
igogrek Jun 6, 2018
8bbe809
Added radio buttons
igogrek Jun 6, 2018
ce7cf4a
Schedule Item and style fixes
ArturFedorov Jun 6, 2018
f1a5d3b
ScheduleItem style fixes
ArturFedorov Jun 6, 2018
90c478e
Added actual sorting
igogrek Jun 6, 2018
fd402db
Added sorted by
igogrek Jun 6, 2018
3343755
chip image update
ArturFedorov Jun 6, 2018
4aeb137
Added sort field name mapper
igogrek Jun 6, 2018
98376b4
Merge branch 'develop' into sorting
igogrek Jun 6, 2018
58e68be
footer
ArturFedorov Jun 6, 2018
d4dfab6
Merge pull request #26 from T-Systems-RUS/sorting
ArturFedorov Jun 6, 2018
66836f6
Merge branch 'develop' into Project-page
ArturFedorov Jun 6, 2018
27dcc31
resolve conflicts
ArturFedorov Jun 6, 2018
7a6afcc
fixed seeder
ArturFedorov Jun 6, 2018
912d6d5
fixed service and controller
ArturFedorov Jun 6, 2018
85af966
version in seeder
ArturFedorov Jun 6, 2018
4d23172
linter fix and comment fixes
ArturFedorov Jun 7, 2018
0ddc81b
Merge pull request #27 from T-Systems-RUS/Project-page
igogrek Jun 7, 2018
0965050
Added initial edit form
igogrek Jun 7, 2018
784ead6
Cleanup
igogrek Jun 7, 2018
1cd601e
Added routing
igogrek Jun 7, 2018
74ed04e
Added very basic technology taginput
igogrek Jun 7, 2018
cc4b56e
Some technologies fixes
igogrek Jun 7, 2018
54c0000
Stepper
ArturFedorov Jun 7, 2018
fc495cb
EmployeeItem component footer changes
ArturFedorov Jun 7, 2018
928042b
linter fix
ArturFedorov Jun 8, 2018
108bf31
Merge pull request #28 from T-Systems-RUS/employee-picker
igogrek Jun 8, 2018
38bd23d
Form cleanup
igogrek Jun 8, 2018
22831cb
Minor cleanup
igogrek Jun 8, 2018
3b52608
Merge pull request #29 from T-Systems-RUS/form-improvements
igogrek Jun 8, 2018
f6cc252
Added some form bindings
igogrek Jun 8, 2018
cc55c9e
Hack for datepicker
igogrek Jun 9, 2018
5a7e066
Scroll fix
igogrek Jun 9, 2018
4f0b320
Added customer field
igogrek Jun 9, 2018
dafed5b
Fixed casing
igogrek Jun 9, 2018
efd75cd
Router fix + cleanup
igogrek Jun 9, 2018
39e6729
Removed line + cleanup
igogrek Jun 9, 2018
275a9ea
Taginput improvements
igogrek Jun 9, 2018
3378150
Lint fix
igogrek Jun 9, 2018
40846f4
Added basic validation
igogrek Jun 9, 2018
e4bc29b
Validation styling
igogrek Jun 9, 2018
eb229b5
Datepicker validation
igogrek Jun 9, 2018
8c20fdd
Added PSS with validation
igogrek Jun 9, 2018
a1e4b40
Fixed keys to avoid reference bugs
igogrek Jun 9, 2018
b54a9e7
Fixed whole card to be clickable
igogrek Jun 9, 2018
e086613
Presentation fix
igogrek Jun 9, 2018
e465551
Another presentation fix
igogrek Jun 9, 2018
e1b795b
Merge pull request #30 from T-Systems-RUS/form-binding
ArturFedorov Jun 11, 2018
80eb800
seed fix for enddate
ArturFedorov Jun 11, 2018
23e90d8
complete label
ArturFedorov Jun 11, 2018
6a5a24e
check for endate exist and less than new date
ArturFedorov Jun 11, 2018
84aaad6
Completed project filter
ArturFedorov Jun 12, 2018
3ce6e69
lint fix
ArturFedorov Jun 12, 2018
917379a
Bug fix for applied filters
ArturFedorov Jun 12, 2018
e9baafd
delete backend fix
ArturFedorov Jun 12, 2018
a6f4473
delete modal + backend action
ArturFedorov Jun 12, 2018
5b5e36c
Merge pull request #32 from T-Systems-RUS/delete-project
igogrek Jun 12, 2018
a5fd2a7
Merge branch 'develop' into closed-filter
igogrek Jun 12, 2018
e716342
review and lint fix
ArturFedorov Jun 12, 2018
d095e94
Merge pull request #31 from T-Systems-RUS/closed-filter
ArturFedorov Jun 12, 2018
d7018c5
create backend part + delete fix
ArturFedorov Jun 12, 2018
c79a1ca
Fixed binding for selects
igogrek Jun 13, 2018
c19fca1
Fixed datepicker bindings
igogrek Jun 13, 2018
7e09c43
Merge pull request #33 from T-Systems-RUS/full-form-bindings
igogrek Jun 13, 2018
4b5ba24
Added file uploader and vue-i18n + minor refactoring
igogrek Jun 13, 2018
5bd3708
Some tweaking for image uploader
igogrek Jun 13, 2018
fce2053
create project backend fix
ArturFedorov Jun 13, 2018
2506af8
Added setting of the image in uploader
igogrek Jun 13, 2018
1c5e209
Merge pull request #34 from T-Systems-RUS/image-upload
igogrek Jun 13, 2018
801f53d
update project backend + delete fixes on FE
ArturFedorov Jun 13, 2018
d0f3a67
Merge branch 'develop' into crud-project-backend
ArturFedorov Jun 13, 2018
74b576a
Refactoring of current footer
igogrek Jun 13, 2018
4a8cb33
Single project presentation
igogrek Jun 13, 2018
10f05dc
review changes
ArturFedorov Jun 13, 2018
e20f883
Added loader for REST requests
igogrek Jun 13, 2018
344905a
Image fix
igogrek Jun 13, 2018
d4051a1
Merge pull request #36 from T-Systems-RUS/footer-cleanup
igogrek Jun 13, 2018
ab91909
Merge branch 'develop' into crud-project-backend
igogrek Jun 13, 2018
9c6282b
Merge pull request #35 from T-Systems-RUS/crud-project-backend
igogrek Jun 13, 2018
dd87188
store employee module
ArturFedorov Jun 14, 2018
4305d26
startdate enddate
ArturFedorov Jun 15, 2018
5f67651
role participation ,validation
ArturFedorov Jun 15, 2018
c88e8b6
picker styling
ArturFedorov Jun 20, 2018
981e35c
error styling
ArturFedorov Jun 21, 2018
2e8af6d
error styling delete projectfix
ArturFedorov Jun 21, 2018
d92af11
lint fixes
ArturFedorov Jun 21, 2018
31f8cbb
Merge pull request #37 from T-Systems-RUS/employee-picker
ArturFedorov Jun 21, 2018
a036fcf
edit actions
ArturFedorov Jun 21, 2018
fbb92df
project edit connection and bug fixes
ArturFedorov Jun 21, 2018
1d6c71e
project create
ArturFedorov Jun 21, 2018
d277e34
validations
ArturFedorov Jun 22, 2018
e679b56
async validation
ArturFedorov Jun 25, 2018
eb647f6
Added datepicker month switches and minor style improvements
igogrek Jun 26, 2018
fefb794
Merge pull request #38 from T-Systems-RUS/datepicker-fix
igogrek Jun 26, 2018
847225a
Added sync of query params to the filter values
igogrek Jun 26, 2018
48ff1cf
Actual filter preselect upon clicking the item in project view
igogrek Jun 26, 2018
19bcd35
Fixed technologies to be toggled
igogrek Jun 26, 2018
13ac177
Test fix
igogrek Jun 27, 2018
7235c4c
Merge pull request #39 from T-Systems-RUS/sync-query-params-filters
igogrek Jun 27, 2018
17a2ee5
Added search to query params
igogrek Jun 27, 2018
12431a9
Added completion to query
igogrek Jun 27, 2018
2c033d2
Fixed reverse sorting checkbox
igogrek Jun 27, 2018
2056bcc
Added sorting to query params
igogrek Jun 27, 2018
26140eb
Filter fix
igogrek Jun 27, 2018
8791eb5
Added filter reset
igogrek Jun 27, 2018
e1c6ed2
Reset of sorting search and completion
igogrek Jun 27, 2018
2a476ba
Technologies reset added
igogrek Jun 27, 2018
8be588c
image load
ArturFedorov Jun 27, 2018
d9f9e9f
Merge pull request #40 from T-Systems-RUS/filter-reset-and-cleanup
igogrek Jun 28, 2018
b8e6823
image update custom event
ArturFedorov Jun 28, 2018
93ec2e5
lint fix
ArturFedorov Jun 28, 2018
71c091c
service refactoring and employeeitem refactoring
ArturFedorov Jul 3, 2018
f49f2e1
images
ArturFedorov Jul 5, 2018
4a3edce
lint fix
ArturFedorov Jul 5, 2018
f238ced
version increment
ArturFedorov Jul 5, 2018
40ab7f5
Merge branch 'develop' into project-create-edit-FE-BE
ArturFedorov Jul 5, 2018
d169bc9
Merge pull request #41 from T-Systems-RUS/project-create-edit-FE-BE
ArturFedorov Jul 5, 2018
820006a
develop and lint fixes
ArturFedorov Jul 5, 2018
c3d341b
Merge pull request #42 from T-Systems-RUS/develop-fixes
ArturFedorov Jul 5, 2018
41e1d6a
sql-scripts
ArturFedorov Jul 5, 2018
21e99b7
Merge pull request #43 from T-Systems-RUS/sq-scripts
ArturFedorov Jul 5, 2018
fffed06
Fix static path
igogrek Jul 10, 2018
e33fb27
Merge pull request #44 from T-Systems-RUS/static-fix
igogrek Jul 10, 2018
186b17a
Fixed minor bugs
igogrek Jul 10, 2018
12c4f44
Merge pull request #45 from T-Systems-RUS/minor-bugfix
igogrek Jul 10, 2018
8205017
Css fixes
ArturFedorov Jul 11, 2018
544f04f
Merge pull request #46 from T-Systems-RUS/style-fixes
ArturFedorov Jul 11, 2018
9cbe1bc
style-fixes
ArturFedorov Jul 11, 2018
4a42280
Merge pull request #47 from T-Systems-RUS/style-fixes
ArturFedorov Jul 11, 2018
e170fc4
Create button deleted legacy client
ArturFedorov Jul 25, 2018
4b44ad8
test fix
ArturFedorov Jul 25, 2018
01a25e3
Merge pull request #49 from T-Systems-RUS/create-button
ArturFedorov Jul 25, 2018
799b0bd
gitignore
ArturFedorov Jul 25, 2018
b3da236
Merge pull request #50 from T-Systems-RUS/git-ignore
ArturFedorov Jul 25, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
65 changes: 0 additions & 65 deletions .angular-cli.json

This file was deleted.

1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ root = true
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
78 changes: 37 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,38 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
# Server files
/server/node_modules

# Client files
/client/.DS_Store
/client/node_modules/
/legacy-client/node_modules/
/client/dist/
/client/test/unit/reports/
/client/test/e2e/reports/
/client/test/e2e/features/undefined-steps.js
/client/selenium-debug.log

/client/src/components/projects/.DS_Store
/client/src/components/root/.DS_Store
/client/src/shared/.DS_Store
/client/src/store/.DS_Store
/client/src/store/modules/.DS_Store
/src/app/.DS_Store
/src/.DS_Store
/client/src/.DS_Store
/client/src/components/root/.DS_Store
/.DS_Store

# Editor directories and files
.idea
.vscode

#misc
npm-debug.log*
yarn-debug.log*
yarn-error.log*


# Ignore Mac DS_Store files
.DS_Store
Thumbs.db


8 changes: 0 additions & 8 deletions .sequelizerc

This file was deleted.

53 changes: 53 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
dist: trusty

services:
- postgresql

env:
# Use test credentials for sequelize
- NODE_ENV=test

sudo: required
before_install:
# Repo for Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn=1.5.1-1
addons:
chrome: stable

language: node_js
node_js:
- "9"

cache:
yarn: true
directories:
- ./client/node_modules
- ./server/node_modules

install:
- yarn run client-server:install

script:
# Use Chromium instead of Chrome.
# - export CHROME_BIN=chromium-browser
# Initialize database: create, migrate, seed
- xvfb-run -a yarn run db
# Run backend
- xvfb-run -a yarn run server &
# Run linter
- xvfb-run -a yarn run client:lint
# Run unit tests
- xvfb-run -a yarn run client:unit
# Run e2e tests
- xvfb-run -a yarn run client:e2e
# - sleep 3

after_script:
# Stop backend
- pkill node

notifications:
email: false
Binary file removed .vs/Portfolio/v15/.suo
Binary file not shown.
6 changes: 0 additions & 6 deletions .vs/VSWorkspaceState.json

This file was deleted.

Binary file removed .vs/slnx.sqlite
Binary file not shown.
18 changes: 0 additions & 18 deletions .vscode/launch.json

This file was deleted.

40 changes: 16 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,31 @@
# Portfolio
# T-Portfolio

## How to run

1. Get MySQL server locally or via docker:
`docker run -p 3306:3306 --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest`
(where `my-secret-pw` is your `root` user password)

2. Run `npm install` to install all dependencies
[![Build Status](https://travis-ci.org/T-Systems-RUS/Portfolio.svg?branch=develop)](https://travis-ci.org/T-Systems-RUS/Portfolio)

3. Run `npm run db:init` to initialize database (tweak DB connection settings via`server/config/config.json`)

4. Run `npm run client-server` to run both client and server in development watch mode.
## How to run

**PREREQUISITE**: Get PostgreSQL server locally or via docker:
`docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=123 -d postgres` (where `123` is your `postgres` user password)

## Development server
There are to possible scenarios to start the app:

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
### One process for client and server (easy to start with)

## Code scaffolding
1. Run `yarn run client-server:install` to install both server and client dependencies

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
3. Run `yarn run db` to initialize database (tweak DB connection settings via`server/config/config.json`)

## Build
4. Run `yarn run client-server` to run both client and server in development watch mode.

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests
### Separate processes for client and server (easier to manage)

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
1. Go to `server` folder and run `yarn` to install server dependencies

## Running end-to-end tests
3. Run `yarn run db` to initialize database (tweak DB connection settings via`server/config/config.json`)

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
4. Run `yarn run server:watch` to run server in development watch mode

## Further help
5. Go to `client` folder and run `yarn` to install client dependencies

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
6. Run `yarn run dev` to run client in development watch mode.
18 changes: 18 additions & 0 deletions client/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-vue-jsx", "transform-runtime"],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"]
}
}
}
9 changes: 9 additions & 0 deletions client/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
5 changes: 5 additions & 0 deletions client/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/build/
/config/
/dist/
/*.js
/test/unit/reports/
Loading