Skip to content

Commit

Permalink
Add file doc for apiRouter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lyyder committed Feb 12, 2020
1 parent 531b486 commit cf61a51
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/apiRouter.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* This file contains server side endpoints that can be used to perform backend
* tasks that can not be handled in the browser.
*
* The endpoints should not clash with the application routes. Therefore, the
* enpoints are prefixed in the main server where this file is used.
*/

const http = require('http');
const https = require('https');
const express = require('express');
Expand Down

0 comments on commit cf61a51

Please sign in to comment.