tenants
tenants copied to clipboard
Pseudocode for route/controller
- Create a route for a POST request to
/api/advocates/referrals/sms
inapp/routes/advocates.server.routes.js
- Create a scaffold for the controller in
app/controllers/advocates/advocates.referrals.server.controller.js
- Link the controller to the route. Use other routes as an example!
https://www.getpostman.com/
https://gist.github.com/romeboards/8888585fdd9bda937cf0afc5d2310962
https://expressjs.com/en/guide/routing.html
https://www.pluralsight.com/guides/front-end-javascript/introduction-to-asynchronous-javascript