Http Server

Koa, the successor of express is being used in this project.

Configuration

Here is the koa configuration:

"koa": {
    "port": 9000,
    "apiBasePath": "/api/v1/",
    "cookieSecret": ["your-super-session-secret"],
    "staticContent": ["build"],
    "logger": true,
    "cors":{
      "credentials": true
    }
  },

Last updated