This is a template to get up and running for interview tests or just setting up node plumbing for just prototyping ideas with Node. This makes the exercise of what you do more efficient. This has the possibility of getting out of date pretty quick so check references to make sure this is still current.
This will archive a few things that help understand what was setup at the time. Projects go out of date pretty quickly so this will help understand what is still applicable.
At the time of setting this up I was using
-
Node version v14.15.1 and NPM 6.14.8
-
Using Windows OS with an Ubuntu developer kit installed on windows 10 - See Ubuntu on Windows for more information which can be alternatively be done using Docker or other types of Virtual Machines. NOTE: Node is best served not on Windows when going to Production
-
Developing with Visual Studio Code as an editor and like it as I use Visual Studio and other Microsoft Products that I find enrich developers experience. It is free and so that comes at a price. Webstorm and some other paid products tend to give a richer more reliable experience, in my honest opinion, but as VSCode matures, so does the experience
3.1. Basic tutorials can be found here which can help you to get express up and running in no time
3.2. VSCode offers lots of plugins to speed up development
3.3. Typescript and typescript dev plugins really enrich the experience for code completion as well as finding 10% to 15% of bugs at compile time, which is always a bonus in this time driven game. If Google and Microsoft make it part of their suit, you know its something polished and enriching and Anders Hejlsberg has been enriching my life since developing with Borland technology, if any of you are old enough to remember Turbo Pascal or Delphi
3.4. Linters and Test Frameworks really keep the quality standardised, however they can be a little overwhelming and distracting with all the syntax highlighting distracting the though process. I love the outcome and the reason it exists but I struggle a bit with the noise it generates
3.5 Install Prettier to make style more consistent with other team members
-
Test-express starter can be found in the root and check this README for more details
-
Test-init is all about having a clean slate to just do simple stuff, test or POC anything that does not need any prerequisite. Test express needed Express and a bunch of things in place before I could even begin to develop. Check README for a small amount of details
-
Test-init-babel is a simple node application for simply testing anything using the EC6+ syntax. Check README for more information