Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

ExpressJS
ExpressJS

5.9K
4.3K
+ 1
1.3K
Spring
Spring

1.9K
1.5K
+ 1
939
Add tool

ExpressJS vs Spring: What are the differences?

Developers describe ExpressJS as "Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple". Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. On the other hand, Spring is detailed as "Provides a comprehensive programming and configuration model for modern Java-based enterprise applications". A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.

ExpressJS and Spring are primarily classified as "Microframeworks (Backend)" and "Frameworks (Full Stack)" tools respectively.

"Simple", "Node.js" and "Javascript" are the key factors why developers consider ExpressJS; whereas "Java", "Open source" and "Great community" are the primary reasons why Spring is favored.

ExpressJS and Spring are both open source tools. ExpressJS with 44.3K GitHub stars and 7.45K forks on GitHub appears to be more popular than Spring with 30.1K GitHub stars and 19.2K GitHub forks.

PedidosYa, Coderus, and WebbyLab are some of the popular companies that use ExpressJS, whereas Spring is used by MIT, Zillow, and Bodybuilding.com. ExpressJS has a broader approval, being mentioned in 843 company stacks & 759 developers stacks; compared to Spring, which is listed in 316 company stacks and 179 developer stacks.

What is ExpressJS?

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

What is Spring?

A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose ExpressJS?
Why do developers choose Spring?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use ExpressJS?
What companies use Spring?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with ExpressJS?
What tools integrate with Spring?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to ExpressJS and Spring?
Koa
Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Go
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
See all alternatives
Decisions about ExpressJS and Spring
Antonio Kobashikawa
Antonio Kobashikawa
Web developer | Blogger | Freelancer at Rulo Kobashikawa ยท | 4 upvotes ยท 39.2K views
Koa
Koa
ES6
ES6
JavaScript
JavaScript
Ionic
Ionic
Vue.js
Vue.js
MongoDB
MongoDB
ExpressJS
ExpressJS
Node.js
Node.js

We are using Node.js and ExpressJS to build a REST services that is middleware of a legacy system. MongoDB as database. Vue.js helps us to make rapid UI to test use cases. Frontend is build for mobile with Ionic . We like using JavaScript and ES6 .

I think next step could be to use Koa but I am not sure.

See more
GitHub
GitHub
nginx
nginx
ESLint
ESLint
AVA
AVA
Semantic UI React
Semantic UI React
Redux
Redux
React
React
PostgreSQL
PostgreSQL
ExpressJS
ExpressJS
Node.js
Node.js
FeathersJS
FeathersJS
Heroku
Heroku
Amazon EC2
Amazon EC2
Kubernetes
Kubernetes
Jenkins
Jenkins
Docker Compose
Docker Compose
Docker
Docker
#Frontend
#Stack
#Backend
#Containers
#Containerized

Recently I have been working on an open source stack to help people consolidate their personal health data in a single database so that AI and analytics apps can be run against it to find personalized treatments. We chose to go with a #containerized approach leveraging Docker #containers with a local development environment setup with Docker Compose and nginx for container routing. For the production environment we chose to pull code from GitHub and build/push images using Jenkins and using Kubernetes to deploy to Amazon EC2.

We also implemented a dashboard app to handle user authentication/authorization, as well as a custom SSO server that runs on Heroku which allows experts to easily visit more than one instance without having to login repeatedly. The #Backend was implemented using my favorite #Stack which consists of FeathersJS on top of Node.js and ExpressJS with PostgreSQL as the main database. The #Frontend was implemented using React, Redux.js, Semantic UI React and the FeathersJS client. Though testing was light on this project, we chose to use AVA as well as ESLint to keep the codebase clean and consistent.

See more
Paul Whittemore
Paul Whittemore
Developer and Owner at Appurist Software ยท | 14 upvotes ยท 56.6K views
Fastly
Fastly
Electron
Electron
vuex
vuex
Vue.js
Vue.js
Quasar Framework
Quasar Framework
Vuetify
Vuetify
Node.js
Node.js
ExpressJS
ExpressJS
Fastify
Fastify

I'm building most projects using: Server: either Fastify (all projects going forward) or ExpressJS on Node.js (existing, previously) on the server side, and Client app: either Vuetify (currently) or Quasar Framework (going forward) on Vue.js with vuex on Electron for the UI to deliver both web-based and desktop applications for multiple platforms.

The direct support for Android and iOS in Quasar Framework will make it my go-to client UI platform for any new client-side or web work. On the server, I'll probably use Fastly for all my server work, unless I get into Go more in the future.

See more
Praveen Mooli
Praveen Mooli
Technical Leader at Taylor and Francis ยท | 11 upvotes ยท 99.6K views
MongoDB Atlas
MongoDB Atlas
Amazon S3
Amazon S3
Amazon DynamoDB
Amazon DynamoDB
Amazon RDS
Amazon RDS
Serverless
Serverless
Docker
Docker
Terraform
Terraform
Travis CI
Travis CI
GitHub
GitHub
RxJS
RxJS
Angular 2
Angular 2
AWS Lambda
AWS Lambda
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon Kinesis
Amazon Kinesis
Flask
Flask
Python
Python
ExpressJS
ExpressJS
Node.js
Node.js
Spring Boot
Spring Boot
Java
Java
#Data
#Devops
#Webapps
#Eventsourcingframework
#Microservices
#Backend

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
Samuel Olugbemi
Samuel Olugbemi
Software Engineer at Payzone UK ยท | 6 upvotes ยท 8K views
atPayzone UKPayzone UK
ExpressJS
ExpressJS
LoopBack
LoopBack

I use LoopBack because it is: * It is truly and Unbelievably Extensible * it is default integrated with OpenAPI (Swagger) Spec Driven REST API * I write lesser codes, because most of the user stories have been covered using the code generation * It's documentation is more compact and well detailed than ExpressJS * It is very easy to learn, hence you can build a basic Rest API App in minutes * It has built in NPM packages required to build my Rest API which saves me time on installation and configuration * The Datasource/Service/Controller concept is just Brilliant (that's mostly all you need to get your app speaking with an External API services) * The support for SOAP and Rest API services is amazing!

See more
Interest over time
Reviews of ExpressJS and Spring
No reviews found
How developers use ExpressJS and Spring
Avatar of Cloudcraft
Cloudcraft uses ExpressJSExpressJS

Express.js is the workhorse of the Cloudcraft.co backend. It's not the most exciting part of a stack, but it works, is very well documented, and you can find a plugin for almost everything you could possibly want. We also carefully evaluated Koa.js, but decided not to go down this route: fewer plugins, less documentation & answers online. I'm also not personally convinced by the generators yield syntax at all. ES7 async functions looks like a much better bet, and with Promises and Babel I can have that already today.

Avatar of datapile
datapile uses SpringSpring

Spring is another gift rained down by the gods of Open Source Software (a.k.a. Pivotal Labs in this particular case) that just makes sense on all levels.

From Spring Boot, to SpringMVC, the configuration architecture & profile paradigm, Spring Cloud expandability, to the ease with which one can deploy Spring applets as microservices within Docker is an absolute joy.

Avatar of Volkan ร–zรงelik
Volkan ร–zรงelik uses ExpressJSExpressJS

I use express.js for nightly.zerotoherojs.com and dojo.zerotoherojs.com web apps.

Express is well-known, lightweight, works out-of-the-box, has great middleware support and has minimal learning curve.

It is the best framework to start developing a general Node.js web app.

Avatar of Kent Steiner
Kent Steiner uses ExpressJSExpressJS

I'm fluent in ExpressJS, but over the past two years I have moved to HapiJS. Similar results, but I find Hapi to be more full-featured towards my app, api and service needs. I can operate confidently in both.

Avatar of Giovanni Candido da Silva
Giovanni Candido da Silva uses SpringSpring

The core of the application use Spring Stack, to provide services and structure like:

  • Persistence
  • REST
  • Email
  • Security
  • Self contained application with spring boot
  • And many others.
Avatar of Promethean TV
Promethean TV uses ExpressJSExpressJS

PrometheanTV utilizes the ExpressJS web application framework to deploy various web applications and services including the Broadcast Center Tool, our video embed service, and our REST API.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses SpringSpring

๊ทธ๋ƒฅ ๊ฐ„๋‹จํ•œ MVC ์›น ํ”„๋ ˆ์ž„ ์›Œํฌ ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ์ •๋ง ๋ชจ๋“ˆํ™”๊ฐ€ ์ž˜ ๋˜์žˆ๊ณ , ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๊ฐœ๋ฐœ์ž์—๊ฒŒ ์ •๋ง ํŽธ๋ฆฌํ•˜๊ฒŒ ๋งŒ๋“ค์–ด ๋†“์•˜๋‹ค. vaildation ๋ถ€๋ถ„์€ ๋”ฐ๋กœ ์ฒ˜๋ฆฌ ํ•  ์ˆ˜ ์žˆ๊ณ , ํŒŒ๋ผ๋ฏธํ„ฐ ๋‹ด๋Š” ๋ณ€์ˆ˜์™€ ๋””ํดํŠธ ๊ฐ’์„ ์ธ์ž๋กœ ์„ค์ •ํ•ด ์ฃผ๋Š” ๋ถ€๋ถ„๋„ ์ฐธ ์ข‹์€ ๊ฒƒ ๊ฐ™๋‹ค. ๋˜ spring-data ๋Š” jpa ํ™œ์šฉํ•ด ๋น ๋ฅด๊ฒŒ ๊ฐœ๋ฐœํ•˜๋Š”๋ฐ ์œ ์šฉํ•˜๋‹ค.

Avatar of Merge In
Merge In uses ExpressJSExpressJS

We rely on ExpressJS to serve our content simply, easily, and effectively, without the bloat-ware. Big thanks to StrongLoop for supporting this package.

Avatar of ByeongGi
ByeongGi uses SpringSpring
  • SpringFramework ์ค‘ MVC , AOP ๋“ฑ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ํ”„๋กœ์ ํŠธ ๊ตฌ์„ฑ
  • ๊ณตํ†ต ๋กœ์ง ๊ตฌํ˜„ ๋ฐ ๋ณด์•ˆ ์ฒ˜๋ฆฌ ๊ฐ€๋Šฅ

  • Spring5์—์„œ ์ง€์›ํ•˜๋Š” ํ•จ์ˆ˜ํ˜• ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊ฒฝํ—˜ ์žˆ์Œ

Avatar of Ralic Lo
Ralic Lo uses SpringSpring

Used Spring Boot and its ORM to interacting with database server for web application development.

How much does ExpressJS cost?
How much does Spring cost?
Pricing unavailable
Pricing unavailable
News about ExpressJS
More news