Skip to content

Instantly share code, notes, and snippets.

View cobalt88's full-sized avatar
:octocat:

Vincent Teune cobalt88

:octocat:
View GitHub Profile
@cobalt88
cobalt88 / async API Route Template.js
Last active June 23, 2022 00:57
JS Templates - Non Commented
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}`);
}
});
@cobalt88
cobalt88 / README-Template.md
Last active June 25, 2022 01:10
MD Templates - Non Commented
@cobalt88
cobalt88 / Route-Map-Template.md
Last active June 23, 2022 01:51
Documentation Templates

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@cobalt88
cobalt88 / Application Strategy.md
Last active June 24, 2022 13:21
How to get a job in tech

How to get a Software Engineering job - Web Development Edition

General Steps To Start With

  1. 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.
  1. 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.

  2. 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.

@cobalt88
cobalt88 / README-Template.md
Last active January 5, 2024 03:33
Commented Templates
  • Route Map Template:
    Request Requirements: ""
    Expected Response: ""
    Method: ""
    URL: ""
    Example: ""