Sitemap
Ace D Baugh

Ace D Baugh

I am a Fine Art Photographer and Fine Code Programmer. I shoot Sony Raw and am a Full Stack Web Developer

Introduction to Express

2 min readAug 31, 2022
Press enter or click to view image in full size
Photo by John McArthur on Unsplash

Most likely, if you plan to work as a full-stack developer, the stack you choose will have Express in it. Of the two most popular stacks working with JavaScript, MEAN and MERN (Fabisiak, 2022), the E stands for Express and it is basically gift-wrapped and bundled with node.js, even though you still have to install it separately. Express is a thinly layered framework built to app features node.js and lets you create what you want quicker. Express was created over 12 years ago with the purpose of making it easier to use JavaScript to connect to servers and create websites from the information returned. Also, it has the ability to create routes more easily than writing it all out in Node.js. With that being said, Express is nice, but it is not entirely necessary for creating a full-stack application. JavaScript has been around a lot longer than Express and with Node.js, one could create both server-side and front-end applications. But Express is a robust way to do the same thing with less code. It’s not like you have no idea what’s really going on under the hood, like many frameworks and libraries, Express is thin and still gives you the control you need.

Get Ace D Baugh’s stories in your inbox

Join Medium for free to get updates from this writer.

Express is not the only player out there, but it is still the most popular. NestJS is a great alternative as it uses TypeScript and allows for bug fixing in the writing process rather than waiting to compile and run. Another difference between the two is that NestJS runs Express by default, but it doesn’t have to. You can swap it out for Fastify which, like its name suggests, can speed up processing (Oyedele, 2022). Express may not be the only one out there, but in its short 12-year life, Express has taken the fast track to popularity.

References

Fabisiak, R. (2022, March 10). Which web development stacks to use in 2022 — guide for business owners. Which Web Development Stacks To Use in 2022 — Guide for Business Owners. Retrieved August 30, 2022, from https://www.blog.duomly.com/which-web-development-stack-to-use/

Oyedele, T. (2022, August 8). NestJS vs. Express.js. LogRocket Blog. Retrieved August 30, 2022, from https://blog.logrocket.com/nestjs-vs-express-js/#features-express-js

--

--

Ace D Baugh
Ace D Baugh

Written by Ace D Baugh

I am a Fine Art Photographer and Fine Code Programmer. I shoot Sony Raw and am a Full Stack Web Developer