This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
router.get('/', async(req,res) => { | |
try { | |
const response = await | |
res.status(200).json(response); | |
} catch (err) { | |
res.status(500).json({message: `Unexpected error encountered in (route name here): ${err} \n ${err.message}`}); | |
console.log(`Unexpected error encountered in (route name here): ${err} \n ${err.message}`); | |
} | |
}); |
This document details all the complete and tested routes available in the controllers folder, how to access them, what data they expect to receive in the requests sent to them, and what data you should expect in the response from that route.
- Apply to where you really want to work first, the big boys, the "If i could work anywhere id work at..." places.
- let them say no to you, don't hesitate to apply, worst case scenario is they say no, best case you get to work where you really want to, and if they say no or don't reply, apply again. But don't stop here.
-
relocation is not required, but it will help you find a job faster as it opens you up to opportunities nationwide. If you want to stay where you are (geographically) apply around you first, research local companies and familiarize yourself with what they do for a few minutes.
-
go to fortune.com (fortune 500 companies) and apply to every non technical company on their list, for any open entry level slot. doesn't matter what it is.
- Route Map Template:
Request Requirements: ""
Expected Response: ""
Method: ""
URL: ""
Example: ""