From 46911c09ecbf58c1be9e5327fcd91e44f2292cb9 Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Tue, 4 Sep 2018 12:43:09 +0530 Subject: [PATCH] [strategy] created endpoint strategy --- index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..d52f5a6 --- /dev/null +++ b/index.js @@ -0,0 +1,13 @@ +const Strategy = require('@klenty/gunner/Strategy'); + +const resources = require('./lib/resources'); +const compiler = require('./lib/compiler'); + +const endpointStrategy = + new Strategy( + 'endpoint', + resources, + compiler, + ); + +module.exports = endpointStrategy; \ No newline at end of file