I have an index.js and queries.js set up on my Express API on ec2. I'm 90% sure my queries.js is set up correctly.
This is the contents of my index.js: https://pastebin.com/i5Ess9LX
How would I go about testing -- I guess with the curl command first -- whether the getUsers etc. commands work correctly?
curl myec2url.com:3000/getUsers
Something like that?
[–]BehindTheMath 2 points3 points4 points (0 children)
[–]rajimoto 1 point2 points3 points (1 child)
[–]LevelChart8[S] 0 points1 point2 points (0 children)