Skip to content

HTTP Endpoint Server #4

@Zayelion

Description

@Zayelion
  • Application should host a HTTP server
  • use yarn add express

HTTP server should have the following endpoints

  • POST /update accepts a valid DB object, inserts or updates it into the database and generates a file export. Returns the queried ID from the database.
  • GET /cache returns the in memory database for external application usage. It should not hit the database or a file.
  • GET /generate regenerates the cache from the database.
  • GET /export regenerates the files from database.
  • GET /import regenerates via update and insert the database from the file system.
  • GET /search/:id returns one specific card based on its id
  • GET /search/:name returns one specific card based on its name (from any language)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions