You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just some extra info, basicly all i would want to do is get some options / config from the user before the server starts and then based off that, inject some routes / middleware and then functions into the app
I fail to understand what you are triyng to do. Are you tring to write an express app? Do you want to contribute to express? Do you want to create your own fork of express that will have features that the original express would never have?
Please explain more deeply what exactly are you asking and what response you expect
Activity
RjManhas commentedon Jun 18, 2023
maybe a more updated / better version of this example
https://github.com/53js/express-server-app/tree/master
RjManhas commentedon Jun 18, 2023
just some extra info, basicly all i would want to do is get some options / config from the user before the server starts and then based off that, inject some routes / middleware and then functions into the app
b1ek commentedon Jul 18, 2023
I fail to understand what you are triyng to do. Are you tring to write an express app? Do you want to contribute to express? Do you want to create your own fork of express that will have features that the original express would never have?
Please explain more deeply what exactly are you asking and what response you expect
ayhanks commentedon Aug 4, 2023
I would recommend you to have a look into the source code.
Under root/lib/application.js you can see that the express() function was called by express and they added some more methods to it.
Here is the code in the above mentioned file: