Skip to content

zacharytaylor-FS/Lets_Code_NodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js & Server Side Languages

What is Node.js?

  • NodeJS is a open source Server Environment
  • Uses Asynchronous Programming
  • Runs single-threaded
  • Uses JavaScript on server

What can Node.js Do?

  • Node.js can generate dynamic page content
  • Node.js Can `Create, Open, Read, Write, Delete, and close files on a server.
  • Node.js Can collect form data
  • Node.js Can Add, Delete, modify data in a database

What is a Node.js File?

  • Node.js files contain tasks to be executed on certain events
  • File must be initiated on server

Back-end API(Application Programmable Interface)

  • NPM used to init, install node package(s)

Topics

  • HTTP Module
  • Modules
  • Middleware
  • Express.js
  • Design Pattern
    • Server
    • Listener
    • Router
  • Unit Testing
    • Jest
  • Nodemon

Getting Started

mkdir folder_name
cd folder_name
npm init
npm update


git init
###CREATE REPO in GITHUB
git remote add origin [email protected]:username-EX/Name_of_Repo.git
git branch -M main

To Run Project

npm i
npm start

To Run Test

npm i
npm test