Commit Graph

102 Commits

Author SHA1 Message Date
Timo John
c528e71ad0 If element has null score, result is not delivered 2020-06-18 17:00:32 +02:00
Timo John
bb14c9955d Merge branch 'develop' of https://git.it.hs-heilbronn.de/tjohn/cc-data into feature/trivago 2020-06-18 16:45:47 +02:00
Patrick Gebhardt
cbbf2b53d8 Merge branch 'feature/region-details' into 'develop'
Add region props to region details

See merge request tjohn/cc-data!16
2020-06-18 16:20:27 +02:00
Timo John
2d874337ce getRegionsById now returns just an object 2020-06-18 16:17:22 +02:00
Timo John
b954e356a0 Search handling for null-Subscors 2020-06-18 16:07:57 +02:00
Patrick Gebhardt
1803ed2225 Add region props to region details 2020-06-18 16:00:10 +02:00
Timo John
961760601d Small fix according to database col name change 2020-06-18 15:55:17 +02:00
Timo Volkmann
6f13cb6c87 Merge branch 'feature/dockerfiles' into 'develop'
Dockerfile backend and text search filter

See merge request tjohn/cc-data!15
2020-06-18 15:21:32 +02:00
7e7dea46eb Dockerfile backend and text search filter 2020-06-18 15:19:45 +02:00
Timo John
724ebfe35c Removed getRegions.js for internal usage 2020-06-18 14:53:37 +02:00
Timo John
64abbe4e30 Trivago data added to regions endpoint 2020-06-18 14:44:39 +02:00
Patrick Gebhardt
61aac61469 Merge branch 'feature/region-details' into 'develop'
Add details page

See merge request tjohn/cc-data!12
2020-06-18 13:26:53 +02:00
Patrick Gebhardt
c99033e367 Add graphs to region details 2020-06-18 13:26:32 +02:00
Patrick Gebhardt
299e80e5a2 Add basic details page 2020-06-18 13:26:31 +02:00
Timo John
9b3d6d4800 Add new setup.sql 2020-06-18 12:18:38 +02:00
Timo John
40b5e6f6ee Merge branch 'develop' of https://git.it.hs-heilbronn.de/tjohn/cc-data into develop 2020-06-18 12:14:01 +02:00
Timo John
74efce18f7 Add cors middleware 2020-06-18 12:13:10 +02:00
Timo John
af964be2d6 Merge branch 'refactor/database' into 'develop'
Changed accordingly to database col namechanges

See merge request tjohn/cc-data!13
2020-06-18 12:08:15 +02:00
Timo John
aba72921ea Changed accordingly to database col namechanges 2020-06-18 12:06:55 +02:00
Timo John
ef30abd8b5 Merge branch 'feature/image' into 'develop'
Add Images for all regions

See merge request tjohn/cc-data!11
2020-06-18 01:04:08 +02:00
Timo John
cfc17cb23a Add Images for all regions 2020-06-18 01:02:20 +02:00
Patrick Gebhardt
e706a2633e Fix preset loading 2020-06-18 00:52:27 +02:00
Patrick Gebhardt
25f653008a Implement basic ui concept 2020-06-18 00:10:50 +02:00
410b363713 route for standard image if image not found 2020-06-18 00:09:37 +02:00
1fd35504fd changed search response structure 2020-06-17 23:58:23 +02:00
Lucas Hinderberger
3e1d376a93 Update Dockerfile 2020-06-17 22:20:25 +02:00
Lucas Hinderberger
256c8ab4e0 Update Dockerfile 2020-06-17 22:16:46 +02:00
7e919026e7 fixed empty climate arrays in regions 2020-06-17 21:50:32 +02:00
Timo John
e88952388b Fixed Region endpoint and cleared up a little. 2020-06-17 21:50:32 +02:00
337c1e49cf implemented scoring for prices 2020-06-17 21:50:31 +02:00
0d82057383 fixed wrong date interpretation 2020-06-17 21:50:31 +02:00
0586a7a0ba some fixes by TVM 2020-06-17 21:50:31 +02:00
33249bf817 refactored search function befor implementing price search 2020-06-17 21:50:30 +02:00
46a57891a0 satisfiy region interface 2020-06-17 21:50:30 +02:00
Timo John
ee63caf1ea Changed return names according to Interfacedefinition of frontend 2020-06-17 21:50:29 +02:00
809951fd85 preparation for price search 2020-06-17 21:50:29 +02:00
Timo John
8b0064a5b9 Matched getRegions to API Specification
Matched getRegionsByID to API Specification
2020-06-17 21:50:28 +02:00
Timo John
ea2c87a557 New Version of Setup.sql 2020-06-17 21:50:28 +02:00
Timo John
78a6480871 New Version of Setup.sql 2020-06-17 21:50:28 +02:00
Timo John
7173e0e48e Changed Parsing from int to float
Removed comment
2020-06-17 21:50:27 +02:00
0a7e901e1d finished refactoring 2020-06-17 21:50:27 +02:00
e61aa03996 added sample images 2020-06-17 21:50:27 +02:00
Timo John
ad078bd360 Implemented Endpoint for getting all search presets
Endpoint for presets works now. For real.

Alternative JSON return for presets tested
2020-06-17 21:50:22 +02:00
Timo John
359e93ed4d Added Endpoints for Countries and Region/Country by ID 2020-06-17 21:50:22 +02:00
Timo John
a8d84a4b36 Same for countries 2020-06-17 21:50:21 +02:00
Timo John
61796b1b50 Add description and preview_img to setup.sql 2020-06-17 21:50:20 +02:00
Timo John
b0f5defe1c Search function works as before minus old syntax 2020-06-17 21:50:20 +02:00
Timo John
692336a0ba Split up massive app.js in small files 2020-06-17 21:50:20 +02:00
Timo John
5b7c0e5bb3 Moved files to /util 2020-06-17 21:50:20 +02:00
Timo John
1ce2b94ee3 Refactored climate endpoint 2020-06-17 21:50:20 +02:00