File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " js-personal-api" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " API for managing personal data across various networks and providers." ,
55 "homepage" : " https://github.com/personal-api/core#readme" ,
66 "author" : {
Original file line number Diff line number Diff line change 1+ /**
2+ * Import your plugins here.
3+ */
4+
5+ export default ( /* app */ ) => {
6+ /**
7+ * Instantiate your plugins here by calling apply(app) on them.
8+ */
9+ } ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import express from 'express';
33import constants from './constants' ;
44
55import applyMiddlewares from './middlewares' ;
6+ import applyPlugins from './plugins' ;
67import applyRoutes from './routes' ;
78
89const {
@@ -14,6 +15,7 @@ const bootstrap = async () => {
1415 const app = express ( ) ;
1516
1617 applyMiddlewares ( app ) ;
18+ applyPlugins ( app ) ;
1719 applyRoutes ( app ) ;
1820
1921 app . listen ( PORT , ( ) => console . log ( SERVER_STARTED . replace ( '$PORT' , PORT ) ) ) ;
You can’t perform that action at this time.
0 commit comments