Commit Graph

27 Commits

Author SHA1 Message Date
dependabot[bot]
389720d7c0 Bump express from 4.16.4 to 4.17.3
Bumps [express](https://github.com/expressjs/express) from 4.16.4 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.16.4...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-09 14:31:05 +00:00
0c09d53c4f Added yarn package moment 2019-04-16 17:47:45 +02:00
a30d1d84a5 Now we added the sort params. Read prev commit 2019-04-16 17:47:12 +02:00
8b39940b2b Now handles parsing dates from dd-mm-yyyy option over to utc. Also added sort query option for asc or desc for adventures. 2019-04-16 17:46:43 +02:00
56b09e3f10 Adventure list is now returned oldest to newest 2019-03-03 22:41:19 +01:00
c7cd82af5f Pulled the origin out in a variable. 2019-03-03 22:06:50 +01:00
f5b6d0f426 Yarnlock updated after http-proxy-middleware was added 2019-03-03 21:18:43 +01:00
1d5b7e13ed http-proxy-middleware is for passing upload request to another api (leifs-image-processor) 2019-03-03 21:17:53 +01:00
768cffc93b Removed sequelize. Handled importing of models in another (pre esma6) fashion. 2019-03-03 21:16:35 +01:00
7d4a45f3c3 Moved uploadRequest proxyRequest handler to imageController. 2019-03-03 21:15:26 +01:00
4fe94e5471 Routes moved from /routes to routes.js. app.js updated accordingly. 2019-03-03 21:14:55 +01:00
06a97a2a4b List returned by adventure id is ordered by album_order. UploadHandler proxies the request to another api and waits for response. Delete finds matching filename by query parameters and removes it from the database. 2019-03-03 21:03:58 +01:00
6447fb3cef No longer export unused uploadHandler function. 2019-03-03 20:24:03 +01:00
f5b63afd03 Removed dsstore 2019-03-03 20:23:19 +01:00
fb054e300e Image model gets a new folder column 2019-03-03 20:22:11 +01:00
bb86d4806f Updated seeders for images and migration for adding folder column to images 2019-03-03 20:21:41 +01:00
a1dc572510 Changed our postgres database name to leifsopplevelser 2019-03-02 23:23:51 +01:00
82704394a9 Created migrations for all tables. 2019-03-02 23:23:25 +01:00
16bf0f0d9e Ignore MacOS DS_Store files 2019-03-02 23:22:54 +01:00
d2a92ab633 Updated models adventure from string to text. Cleaned up comments and unused code in models/index.js. The database does not sync so migrations will need to be created. 2019-03-02 22:49:39 +01:00
31dc6c02be Location checks queryparameter name and if set only returns matching location. 2019-03-02 22:46:58 +01:00
bd62e76b0d Calendar enpoint for listing all events. TODO add date-filtering. 2019-03-02 22:45:16 +01:00
417ec775ff Added order by datestart when fecting all Adventures as list. Create now first creates a location and then the adventure. started enpoint for handling uploading of images. These requests will be redirected to another python web server. 2019-03-02 22:42:54 +01:00
036131c1ce Defined correct cors requirements for options and Access-Control-Allow-Origin to all requestes. 2019-03-02 22:27:39 +01:00
4d649a32f0 Added script command start. 2019-03-02 22:26:01 +01:00
cfd0b88987 Working backend setup with endpoints and database setup for adventures. 2019-02-18 22:42:52 +01:00
ba1070d5b2 Initial commit 2019-02-15 23:20:07 +01:00