Is your feature request related to a problem? Please describe.
-Publishing npm package will be done through automated script ( issue ref No. #1 ).
-Removal of currently present src/index.ts for developers using the repo as template or for further contributions.
-This calls for a default export file present outside src folder exporting required middleware and routers to be used with npm package.
-This file should be present all around time instead of being created using a script every time.
Describe the solution you'd like
-Creating a /index.ts or /index.js file which will export all the routers and middleware to be used by developers utilizing npm package.
-One thing I can come up with is probably importing all the necessary components and exporting them as modules.
-Other approaches are encouraged as well.
Additional context
-This is necessary issue to be completed before release of npm package.
please clearly export the router used for authentication/user routes and middleware like isValidSession which shall be usable by other developers.
also export utility functions created under src/utils/
this file shall be named index.ts or index.js to serve default entry point
this file shall not hinder further development thus shall be named something else, only on running script to publish npm, this file will be named index
Is your feature request related to a problem? Please describe.
-Publishing npm package will be done through automated script ( issue ref No. #1 ). -Removal of currently present src/index.ts for developers using the repo as template or for further contributions. -This calls for a default export file present outside src folder exporting required middleware and routers to be used with npm package. -This file should be present all around time instead of being created using a script every time.
Describe the solution you'd like -Creating a /index.ts or /index.js file which will export all the routers and middleware to be used by developers utilizing npm package. -One thing I can come up with is probably importing all the necessary components and exporting them as modules. -Other approaches are encouraged as well.
Additional context
-This is necessary issue to be completed before release of npm package.