Skip to content

usrbinomarbash/ExpressJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressJS

What It Is?

  • Wep Application development framework based on NodeJS
  • Small Framework that does not slow your app down

What It Does

  • Takes care of a lot of common tasks when building a web app:
    • parsing Requests
    • Routing
    • Error Handling

Why Use It?

  • Fast
  • Minimal - Provides you only with the fundamental features for your app
  • Unopinioated - no default configurations in order for your to structure your app your own way
  • Simple - very easy to use, very simple to: install, use and read documentation
  • Unobtrusive - setup ExpressJS they way I want it to be used no prereq libs only libs of my choice

How To Install

npm install express --save

Different HTTP Requests You Can Make

How To Make A Get Request
app.get('/', function (req, res) {
  res.send('This is a get request!')
})
How To Make A Post Request
app.post('/', function (req, res) {
  res.send('This is a post request')
})
How To Make A Delete Request
app.delete('/user', function (req, res) {
  res.send('Deleting the user: /user')
})
How To Make A Put Request
app.put('/user', function (req, res) {
  res.send('Just Made a PUT request for /user')
})

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy