PERN stack - useful dependencies
Thee dependencies usefull in PERN stack:
Table of contents:
- corse - Connect/Express middleware
- helmet - Connect-style middleware
- pg - Non-blocking PostgreSQL client for Node.js
Corse
cors
: this is the library we can use to help communicate between the react application and the express server. Use to do this via proxy in the react application.
To install corse use:
helmet
helmet
: this is the security library that updates HTTP headers, this is not a silver bullet, but it can help.Helment
is connect-style middleware that is compatible with frameworks likeExpress
.
To install helmet use:
node-postgres
pg
: the main library that is used to communicate with our plsql database, without this library communication with the database will not be possible.
To install node-postgres use:
Reference:
My site is free of ads and trackers. Was this post helpful to you? Why not
Disqus is great for comments/feedback but I had no idea it came with these gaudy ads.