CORS Cross origin resource sharing allows you to decide if a script from a domain other than your website/app can access data aka make AJAX calls etc. to your server. For your frontend API you probably want to limit the origin to just your domain. For a developer API you probably want to allow all origins.
CORS for Developers by W3C – explains CORS for developers in clear wording
CSP Cheat Sheet – CSP content security policy is for setting server security policies for accessing your systems content/files etc.
Using the Bootstrap 4 Grid | BOOTSTRAP 4 TUTORIAL
Responsive Bootstrap Website Start To Finish with Bootstrap 4, HTML5 & CSS3
Bootstrap 4 Navbar Concepts | BOOTSTRAP 4 TUTORIAL
Bootstrap 4 Alerts & Modals | BOOTSTRAP 4 TUTORIAL
Things Every Developer Should Know About package.json
What is a Content Delivery Network (CDN)?
GOTO 2016 • What is a CDN and why Developers should Care about using one • Artur Bergman
New to node and need to install npm, node.js? Use NVM node version manager so you can install more than one version of nodejs.
I had to look for the answer to this until I found it. You update to a newer version of NVM node version manager the same way you install it regardless of how you install it. I am not sure what happens if you install nvm with curl then try to update it in another way.
For example I used the following in my terminal as not the root user, just a plain user
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
When I want to install the next version I replace the v0.35.3 with the next version and it does all the work. If you installed nvm as a root user then you will not be able to access it easily as any other user.
In fact, if you type nvm –version in the command line as a regular user after you installed it as a root user, you will be told it is not installed, or nvm is not a recognized command would you like to install. I did this, so that is how I learned not to install it as a root user.
Never ever, ever, not ever use sudo when installing node, npm, nvm or anything like yarn it totally fucks every last thing up.
If you accidentally use sudo follow these instructions to fix the bowl of mashed spaghetti you end up with.
The node world feels as disorganized as Scala here is a link to the latest version
If you are using windows you can install nvm by following these instructions
More info and resources about nvm here.
More info and resources about node package manager