Skip to content

Implementation of the new router in Express v4.0. Does the following tasks :- Basic Routes: Home, About Route Middleware to log requests to the console Route with Parameters Route Middleware for Parameters to validate specific parameters Login routes Doing a GET and POST on /login Validates a parameter passed to a certain route Also used Nodemon…

Notifications You must be signed in to change notification settings

UtsavPreet/Express-APIs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express-APIs

Implementation of the new router in Express v4.0.

Does the following tasks :- Basic Routes: Home, About Route Middleware to log requests to the console Route with Parameters Route Middleware for Parameters to validate specific parameters Login routes Doing a GET and POST on /login Validates a parameter passed to a certain route

Also used Nodemon to run the app.

How to run it

Just clone or download the folder and run npm install from your server file. Keep in mind the folder structure.

##Folder Structure:-

node_modules server.js(Server file) public ├── css │ ├── style.css │ └── style.less ├── js │ ├── base.js │ └── index.js ├── scripts │ └── jquery.js └── views ├── index.html └── login.html

All the Best!!

About

Implementation of the new router in Express v4.0. Does the following tasks :- Basic Routes: Home, About Route Middleware to log requests to the console Route with Parameters Route Middleware for Parameters to validate specific parameters Login routes Doing a GET and POST on /login Validates a parameter passed to a certain route Also used Nodemon…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published