kzilla.xyz
kzilla.xyz copied to clipboard
Body parser has been deprecated
Expected Behavior
Express has a built in parser, the code should use that.
Current Behavior
Bodyparser is being used.
Hi, there. I would like to work on this issue. Can it be assigned to me?
@gokullan Hello, yes you can work on this!
Hi, there. I have made the required change in the server.ts
file. However, I am unable to completely remove body-parser from node-modules, package.json, etc. Below are the problems on which I would like some support.
- When I ran
npm uninstall body-parser
ornpm uninstall @types/body-parser
, it resulted in the deletion of a bunch of files which I don't think should've happened (Screenshot ofgit status
after uninstalling body-parser is attached below) - I am unsure of how to set the environment variables (GAPI_PRIVATE_KEY, GAPI_VIEW_ID, ...) due to which I am unable to test the behaviour of my change.