Posts

Showing posts with the label JavaScript

VUE

Image
Create a project vue create nameOftheProject Run the server make sure to cd and run npm run serve To add a plugin and use vuetify: vue add pluginName Two ways to access VUE:  1) CDN 2) Script tag and link via your project.  3) NPM - npm install vue  4) VUE cli 

Node.js

Image
Node.js Things you can do with Node: read & write connect to databases act as a server for content    -Javascript was originally made for browser to interact with DOM.  -Node allows run JavaScript on backend.  -Check your node version on terminal with: node -v -Type node to run node directly in the terminal.  Streams: allows you to use data before it is fully loaded. package being sent via stream is called buffer.  Client and Servers:  IP Address series of numbers. IPv4 vs IPv6 Localhost  get loop back ip address which is 127.0.0.1 browser is connected to local host, which is own computer. Port# Channel Think of a door to your computer and what traffic you want to let to your computer. Requests and Responses: Status codes: 200 Ok 404 not found 201 500 internal server error 301 resource moved Redirection: When I changed my url and now it directs to 404 Other websites might have my link still directing there.  For smaller website you can ha...