Commit Graph

61 Commits

Author SHA1 Message Date
8c76a32c30 fixed empty climate arrays in regions 2020-06-17 21:38:01 +02:00
8cd606dfcd Merge branch 'feature/pricesearch' of https://git.it.hs-heilbronn.de/tjohn/cc-data into feature/pricesearch 2020-06-17 21:03:39 +02:00
0e2084f21b implemented scoring for prices 2020-06-17 21:00:13 +02:00
8fedd36e22 fixed wrong date interpretation 2020-06-17 18:29:36 +02:00
Timo John
b212c5b7a6 Fixed Region endpoint and cleared up a little. 2020-06-17 18:03:47 +02:00
a7baa4b626 some fixes by TVM 2020-06-17 17:43:20 +02:00
063df9ec9d refactored search function befor implementing price search 2020-06-17 16:10:30 +02:00
8ee8cc8b15 satisfiy region interface 2020-06-17 16:09:34 +02:00
Timo John
0c58cd9410 Changed return names according to Interfacedefinition of frontend 2020-06-17 14:09:00 +02:00
809892f766 preparation for price search 2020-06-16 23:52:23 +02:00
Timo John
3f0ce4cb4b Matched getRegions to API Specification
Matched getRegionsByID to API Specification
2020-06-16 23:17:44 +02:00
Timo John
c1ebc2e790 New Version of Setup.sql 2020-06-16 21:54:29 +02:00
Timo John
6141b96ab7 New Version of Setup.sql 2020-06-16 21:00:18 +02:00
Timo John
0c7f976624 Changed Parsing from int to float
Removed comment
2020-06-16 18:59:10 +02:00
4b978842f7 finished refactoring 2020-06-16 14:31:46 +02:00
e1ef3c4a9a added sample images 2020-06-16 12:31:39 +02:00
Timo John
6435f415b6 Implemented Endpoint for getting all search presets
Endpoint for presets works now. For real.

Alternative JSON return for presets tested
2020-06-16 11:45:35 +02:00
Timo John
6fce605add Added Endpoints for Countries and Region/Country by ID 2020-06-16 10:48:54 +02:00
Timo John
3783684c2e Same for countries 2020-06-16 10:17:29 +02:00
Timo John
02e06de22d Add description and preview_img to setup.sql 2020-06-16 10:09:13 +02:00
Timo John
9c22609ae1 Search function works as before minus old syntax 2020-06-16 02:21:16 +02:00
Timo John
32e8e6cf59 Split up massive app.js in small files 2020-06-16 00:50:43 +02:00
Timo John
0f0f8eb590 Moved files to /util 2020-06-16 00:05:33 +02:00
Timo John
2dfec236b2 Refactored climate endpoint 2020-06-15 23:57:14 +02:00
Timo John
8074de0640 Stage 1: Restructuring the Express Backend 2020-06-15 15:02:33 +02:00
Timo John
24971248c9 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-15 11:38:52 +02:00
e670b40d1c Merge branch 'backend' of https://git.it.hs-heilbronn.de/tjohn/cc-data into backend 2020-06-14 20:01:54 +02:00
eb5491b64b changed query syntax 2020-06-14 19:58:34 +02:00
4f4d51b514 little cleanup 2020-06-14 19:58:34 +02:00
b249665a9e balancing 2020-06-14 19:58:34 +02:00
06236e881a First working search (climate params, randomizing) 2020-06-14 19:58:34 +02:00
7bb07af76a first score search draft working 2020-06-14 19:58:34 +02:00
e1a788c56b finished climate importer 2020-06-14 19:58:34 +02:00
92b9fe3e9d first draft for database population (climate) 2020-06-14 19:58:34 +02:00
67ec5a132c climate api implementation 1 2020-06-14 19:58:34 +02:00
fccd897f79 add sql connection, config through ENV 2020-06-14 19:58:34 +02:00
b23a7f6858 initial backend, first score calc draft 2020-06-14 19:58:34 +02:00
cdae8c6e45 changed query syntax 2020-06-14 19:28:06 +02:00
Lucas Hinderberger
a345e17d5e Merge branch 'fix/remove-ide-files' into 'develop'
Remove IDE files again

See merge request tjohn/cc-data!4
2020-06-14 15:31:05 +02:00
Patrick Gebhardt
79d2e1af0b Remove IDE files again 2020-06-14 15:29:35 +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
258a9047fe Merge branch 'develop' into backend 2020-06-10 08:08:48 +02:00
48f6fef82e initial backend, first score calc draft 2020-06-10 08:07:15 +02:00