Commit Graph

88 Commits

Author SHA1 Message Date
Timo John
0ed58d6fa1 Add more comments 2020-07-10 15:35:38 +02:00
Timo John
29666babbc Add comments 2020-07-10 15:16:04 +02:00
Timo John
8231127099 Small changes to Swagger API doc 2020-07-10 11:20:24 +02:00
Timo John
531f133875 Changed to better JSDoc Syntax 2020-07-10 11:20:24 +02:00
Timo John
4fa241ad60 Changed place and country docs so query parameters work 2020-07-10 11:20:24 +02:00
Timo John
3cccdab368 Changed regions doc so it works with query parameters 2020-07-10 11:20:24 +02:00
Timo John
ebb1304eeb Edited title and description 2020-07-10 11:20:24 +02:00
Timo John
8c4f67b106 Implemented basic Swagger. Reachable by ./api/v1/doc 2020-07-10 11:20:24 +02:00
2b0c030980 some timetravels 2020-06-25 18:27:52 +02:00
Timo John
c1198c98db Added method for tags by region id 2020-06-25 15:49:14 +02:00
Timo John
cc64fb1c32 hotfix: this time for real 2020-06-25 15:42:27 +02:00
Timo John
7a6be53e0b hotfix: search handles null values instead of arrays full of nulls 2020-06-25 15:15:04 +02:00
Timo John
85efd83485 If no value is there in a region, null is returned 2020-06-25 15:04:44 +02:00
6145c40654 cleaned up and reduced scorer overhead 2020-06-25 15:01:21 +02:00
2077aeebf8 removed unnecessary package from backend 2020-06-24 23:28:13 +02:00
Timo John
5fa9d982fb Update update.js 2020-06-24 17:24:12 +02:00
Timo John
d6af174904 Implemented Daily weather API so every region has weather data 2020-06-24 17:24:12 +02:00
bbe74b83bb implemented search for tags feature backend 2020-06-24 14:06:47 +02:00
e0f8f5490e some tag improvements 2020-06-24 14:06:47 +02:00
Timo John
3ae3aca9a5 Hotfix: sql sanitzer now checks if parameter is a number 2020-06-24 13:23:48 +02:00
Timo John
ae9998f640 Added protection against SQL Injection 2020-06-24 11:47:15 +02:00
373429b870 implemented tags endpoint 2020-06-24 10:44:32 +02:00
Timo John
20d99f2145 Remoddeled /update API endpoint 2020-06-24 09:14:22 +02:00
Timo John
df083fd78e Add Endpoint for Reloading Imgurl for speicific place 2020-06-24 08:55:53 +02:00
5dfb31e91c fixed empty response, code 204 -> 200 2020-06-23 18:54:35 +02:00
Timo John
e948243417 Changed endpoint to /api/v1/regions/:id/nearby 2020-06-23 16:33:58 +02:00
Timo John
5d05625658 Feature/place 2020-06-23 16:18:41 +02:00
faa7a7e5b1 removed incorrectly committed files 2020-06-23 15:04:50 +02:00
125c6a3f00 show_match_value now setted through env 2020-06-23 14:13:34 +02:00
826dd64f1a score balancing 2020-06-23 13:17:02 +02:00
c347b79f02 changed search behaviour 2020-06-23 13:17:02 +02:00
cdda87f3c6 score balancing 2020-06-23 13:17:02 +02:00
6180d2f097 tested different scoring slopes 2020-06-23 13:17:02 +02:00
Lucas Hinderberger
fa73c0a1e0 Fixes fixed bug of the search when searching over the turn of the year 2020-06-23 12:35:49 +02:00
Timo John
bf0a71c63c Implemented Endpoints for usage of google place api 2020-06-23 02:01:13 +02:00
c42a55af12 fixed 400 search 2020-06-22 15:41:22 +02:00
c602e75f33 quickfix for inverted logic 2020-06-19 16:43:36 +02:00
7f68ff57f7 implemented randomize regions 2020-06-19 16:13:56 +02:00
a9c6873137 score and search handler cleanup 2020-06-19 16:13:56 +02:00
5ee6cc7a82 added some comments 2020-06-19 16:13:55 +02:00
d92c164127 implemented null score filter 2020-06-19 16:13:55 +02:00
Timo John
76d9036a61 If element has null score, result is not delivered 2020-06-19 16:10:17 +02:00
1cb0a68bb6 fixed bugs 2020-06-19 16:09:12 +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