Commit Graph

18 Commits

Author SHA1 Message Date
Timo John
531f133875 Changed to better JSDoc Syntax 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
8c4f67b106 Implemented basic Swagger. Reachable by ./api/v1/doc 2020-07-10 11:20:24 +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
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
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
7f68ff57f7 implemented randomize regions 2020-06-19 16:13:56 +02:00
Timo John
724ebfe35c Removed getRegions.js for internal usage 2020-06-18 14:53:37 +02:00
Timo John
aba72921ea Changed accordingly to database col namechanges 2020-06-18 12:06:55 +02:00
410b363713 route for standard image if image not found 2020-06-18 00:09:37 +02:00
809951fd85 preparation for price search 2020-06-17 21:50:29 +02:00
0a7e901e1d finished refactoring 2020-06-17 21:50:27 +02:00
Timo John
359e93ed4d Added Endpoints for Countries and Region/Country by ID 2020-06-17 21:50:22 +02:00
Timo John
692336a0ba Split up massive app.js in small files 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