DEV Community

Idris
Idris

Posted on

List of most needed 'npm' packages when building MERN apps

Hi, this is a list of the most of the libraries you're going to be using when building MERN stack application.

BACK-END

expressjs:- node.js framework
mongoose:- Mongoose provides a straight-forward, schema-based solution to model your application data.
jsonwebtoken:- A compact URL-safe means of representing claims to be transferred between two parties
dotenv :- Loads environment variables from .env file.
cookie-parser:- Parse Cookie header and populate req.cookies with an object keyed by the cookie names.
bcrypt:- A library to help you hash passwords.
cors:- Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins
multer:- Multer is a node.js middleware for handling multipart/form-data , which is primarily used for uploading files.
nodemon:- nodemon is a tool that helps develop Node.js based applications by automatically restarting the node application when file changes

FRONT-END

tailwindcss:- CSS framework
autoprefixer:- Parse CSS and add vendor prefixes to CSS rules
postcss:- Transform CSS with the power of JavaScript.
styled-components :- Mix of javascript and css to style your app.
axios:- Promise based HTTP client for the browser and node.js.
react-router-dom:- DOM bindings for React Router.
redux:- For state management.

please add the one that you think i forget to include in the above list

Top comments (0)