diff --git a/documents/references.md b/documents/references.md new file mode 100644 index 0000000000000000000000000000000000000000..6437f2b5057eccbd3d46e819537fdd8789ccbb09 --- /dev/null +++ b/documents/references.md @@ -0,0 +1,45 @@ +# MySQL Connector Example - Documents > References + + +## Description +Various references used in project. + + +## References + +### JavaScript (NodeJs) References + +#### Async and Await +<https://www.freecodecamp.org/news/async-await-javascript-tutorial/> + +#### View JavaScript Object Methods +Acts similarly to Python's "dir" method:<br> +<https://stackoverflow.com/a/2258232> + +#### View JavaScript Object Data +For instances when output is the unhelpful `[object Object]`.<br> +<https://stackoverflow.com/a/41336822> + +#### Calling JavaScript's Equivalent of "Sleep" +<https://stackoverflow.com/a/39914235> + +#### Generating a Random Number +<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random> + +#### Checking for Type Int +<https://stackoverflow.com/a/19048736> +<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt> + +### MySQL2 Library References + +#### JavaScript "MySQL" vs "MySQL2" +<https://stackoverflow.com/a/44001076> + +### MySQL Library Docs +<https://www.npmjs.com/package/mysql2> + +#### Async and Await with MySQL +<https://codeburst.io/node-js-mysql-and-async-await-6fb25b01b628> + +#### MySQL2 General Syntax +<https://evertpot.com/executing-a-mysql-query-in-nodejs/> diff --git a/readme.md b/readme.md index 96b5d35091b07c9469be73c91c667e596bb58781..c5df77cc45f5b926bb157952e50457e355610677 100755 --- a/readme.md +++ b/readme.md @@ -15,3 +15,7 @@ MySql instance. ## Running the Program Once the program is setup, use a terminal to cd into project root, then run `node app.js`. + + +## References +See `documents/references.md` for various references used for project.