-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Milestone
Description
- Application should host a HTTP server
- use
yarn add express
HTTP server should have the following endpoints
-
POST /updateaccepts a valid DB object, inserts or updates it into the database and generates a file export. Returns the queried ID from the database. -
GET /cachereturns the in memory database for external application usage. It should not hit the database or a file. -
GET /generateregenerates the cache from the database. -
GET /exportregenerates the files from database. -
GET /importregenerates via update and insert the database from the file system. -
GET /search/:idreturns one specific card based on its id -
GET /search/:namereturns one specific card based on its name (from any language)