keenethics/banker-adviser-lending-email

Route name (Refactoring)

Closed this issue · 0 comments

The file src/server/routes/index.js should contain the upper part of route (for example /pay-pal).

app.use("/", payPalRoute());

Other files should complement the previous part of path. Something like this (/success)

router.get("/success", (req, res) => {

Please review files and use more specific route names.