Commit Graph

46 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
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
Timo John
961760601d Small fix according to database col name change 2020-06-18 15:55:17 +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
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
aba72921ea Changed accordingly to database col namechanges 2020-06-18 12:06:55 +02:00
Timo John
cfc17cb23a Add Images for all regions 2020-06-18 01:02:20 +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
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
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
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
Timo John
063f1e1993 Stage 1: Restructuring the Express Backend 2020-06-17 21:50:20 +02:00
Timo John
2c51e6c5f9 Changed Temp from mean to mean_max
Changed parameters to temperature_mean_max

set database formatting to utf8

add .env to .gitignore

added .env.sample

.gitignore fix
2020-06-17 21:50:20 +02:00
cdae8c6e45 changed query syntax 2020-06-14 19:28:06 +02:00
bbf483e445 little cleanup 2020-06-14 13:33:07 +02:00
2e4ec7b24e balancing 2020-06-14 01:32:21 +02:00
b5c5abdd4f First working search (climate params, randomizing) 2020-06-14 01:14:04 +02:00
e566344098 first score search draft working 2020-06-12 18:43:09 +02:00
84b9a8abc9 finished climate importer 2020-06-12 11:30:40 +02:00
75bb43a3bd first draft for database population (climate) 2020-06-12 10:48:59 +02:00
1f17d76151 climate api implementation 1 2020-06-12 08:32:01 +02:00
1cdc7f1bc3 add sql connection, config through ENV 2020-06-10 09:20:15 +02:00
48f6fef82e initial backend, first score calc draft 2020-06-10 08:07:15 +02:00
Patrick Gebhardt
1ff09ebcc6 Add initial frontend files 2020-04-24 17:09:22 +02:00