How to choose
Full-stack framework or lightweight toolkit
Django, Laravel, Rails, Spring Boot and ASP.NET Core are full-stack frameworks: they come with an opinion about project structure, a database layer, authentication helpers and tools for migrations, which saves time on a typical business app with users, forms and an admin area. Flask and Express are deliberately small: they give you routing and requests and leave the database, login and structure to libraries you pick, which suits a small service, a prototype or a team that wants full control. FastAPI sits between the two for APIs, with automatic validation and interactive documentation. Next.js is a React framework: it renders pages on the server or at build time and also lets you write server code, so it is common for marketing sites, online stores and dashboards with a JavaScript team.
What you need installed first
Each framework needs its language runtime. Django 6.1 supports Python 3.12 and later, and Flask supports Python 3.9 and newer. Laravel needs PHP and Composer; its docs also offer Laravel Herd as a one-click installer on macOS and Windows. Rails needs Ruby, and the current guides are for Rails 8.1. Next.js needs Node.js 20.9 or later and Express asks for Node.js 18 or higher. Spring Boot needs a Java JDK, with Maven or Gradle as the build tool; the official tutorial shows Java 17. ASP.NET Core needs the .NET SDK, and the current docs are for .NET 10.
Licences, companies and paid hosting
All nine use permissive licences: MIT for Laravel, Rails, Next.js, Express, FastAPI and ASP.NET Core, BSD-3-Clause for Django and Flask, and Apache-2.0 for Spring Boot. That means you can build closed-source commercial products on them without paying or publishing your code, as long as you keep the licence notices. Some are backed by companies that sell hosting: Next.js is made by Vercel, which has a free Hobby plan and a Pro plan at $20 a month on its pricing page, Laravel sells Laravel Cloud from $5 a month, and FastAPI’s docs describe FastAPI Cloud, built by the same team, as the main sponsor of the project. You never need these services: every framework here runs on any ordinary server or container host.
The projects
Django
Free91,523 GitHub starslast code update 19 October 2026
A high-level Python web framework that encourages rapid development and clean design. It includes an object-relational mapper for the database, URL routing, templates, forms, authentication and an automatic admin interface for managing your data.
- Who it suits
- Python teams building content sites, internal business apps and products with an admin back office.
- How it is used
- Install it with pip, create a project with django-admin, define models and views, and run the development server.
- Runs on
- Python 3.12+ on Windows, macOS and Linux; deployed on any server that runs Python
- Licence
- BSD-3-Clause
- Free or paid
- Free and open source; the README asks users to support the Django Software Foundation. There is no paid edition. Pricing page
How to set it up
- Install the current release (6.1.2 on the download page on 23 October 2026).
python -m pip install Django==6.1.2 - Create a new project in a folder called djangotutorial.
django-admin startproject mysite djangotutorial - Move into the folder and start the development server, then open the address it prints.
python manage.py runserver
Good to know
- The development server is for local work only; Django warns not to use it in production and to use a production WSGI or ASGI server instead.
Laravel
Free + paid hosting34,973 GitHub starslast code update 23 October 2026
A PHP web application framework with an expressive syntax. It ships routing, the Eloquent database layer, queues, background jobs, real-time events, authentication starter kits and a command-line tool called Artisan.
- Who it suits
- PHP developers and agencies building business apps, SaaS products and APIs.
- How it is used
- Install PHP, Composer and the Laravel installer, create an app with laravel new, and run it with the dev command.
- Runs on
- PHP on Windows, macOS and Linux; any PHP host or container
- Licence
- MIT
- Free or paid
- The framework is free. Laravel also sells Laravel Cloud hosting: its pricing page says plans start at $5 a month and the first month on Starter is free. Pricing page
How to set it up
- With PHP and Composer installed, install the Laravel installer globally.
composer global require laravel/installer - Create a new application and choose a starter kit and database when asked.
laravel new example-app - Install and build the front-end assets.
cd example-app && npm install && npm run build - Start the development server, queue worker and Vite together, then open the local address.
composer run dev
Good to know
- The repository laravel/framework is the framework core; new apps start from the application skeleton that laravel new downloads.
Ruby on Rails
Free58,841 GitHub starslast code update 16 October 2026
A Ruby web framework built on the model-view-controller pattern. It includes Active Record for the database, Action Pack for routing and controllers, and tools for email, background jobs, file uploads and real-time features, with conventions that cut down configuration.
- Who it suits
- Startups and small teams that want to ship a full web product quickly in Ruby.
- How it is used
- Install Ruby and the rails gem, generate an app with rails new, then use generators and the built-in server.
- Runs on
- Ruby on macOS, Linux and Windows (the guide recommends WSL on Windows)
- Licence
- MIT
- Free or paid
- Free and open source. There is no paid edition from the project. Pricing page
How to set it up
- With Ruby installed, install Rails; the guide expects version 8.1.0 or higher.
gem install rails - Create a new application called store.
rails new store - Move into the folder and start the server, then open the local address.
cd store && bin/rails server
Good to know
- The install guide warns that the Ruby that comes with your operating system is often outdated and recommends a version manager such as Mise.
Next.js
Free + paid hosting143,038 GitHub starslast code update 16 October 2026
A React framework for building full-stack web applications. Pages can be rendered on the server, at build time or in the browser, and the same project can hold server code and API routes, with routing based on folders.
- Who it suits
- JavaScript and TypeScript teams building marketing sites, stores, dashboards and web apps with React.
- How it is used
- Create an app with create-next-app, add pages in the app folder, and run the development server.
- Runs on
- Node.js 20.9+ on macOS, Windows (including WSL) and Linux
- Licence
- MIT
- Free or paid
- The framework is free. It is made by Vercel, whose pricing page lists a free Hobby plan, a Pro plan at $20 a month and Enterprise; Next.js also runs on other hosts and on your own Node.js server. Pricing page
How to set it up
- Create a new app with the recommended defaults (TypeScript, ESLint, Tailwind CSS and the App Router).
pnpm create next-app@latest my-app --yes - Move into the project folder.
cd my-app - Start the development server and open http://localhost:3000.
pnpm dev
Good to know
- The docs show the same commands for npm, yarn and bun as well as pnpm.
Express
Free69,573 GitHub starslast code update 17 October 2026
A fast, unopinionated, minimalist web framework for Node.js. It gives you routing, middleware and helpers for HTTP requests and responses, and leaves the rest of the stack to packages you choose.
- Who it suits
- Node.js developers building small servers, REST APIs and back ends for web and mobile apps.
- How it is used
- Create a Node.js project, install express from npm, write a few routes in one file and run it with node.
- Runs on
- Node.js 18 or higher on any operating system
- Licence
- MIT
- Free or paid
- Free and open source, maintained by the Express team. No paid edition. Pricing page
How to set it up
- Create a folder for your app, move into it and create a package.json file.
npm init - Install Express as a dependency.
npm install express - Save the hello world example from the docs as app.js and run it, then open http://localhost:3000.
node app.js
Good to know
- Express does not include a database layer, login or project structure; you add those with other packages.
FastAPI
Free + paid hosting103,674 GitHub starslast code update 22 October 2026
A modern, high-performance Python framework for building APIs based on standard Python type hints. It validates request data automatically and generates interactive API documentation from your code.
- Who it suits
- Python developers building APIs, including back ends for mobile apps and machine-learning services.
- How it is used
- Install fastapi with the standard extras, write an app in main.py and start it with the fastapi command.
- Runs on
- Python on Windows, macOS and Linux; deployed on any server or container
- Licence
- MIT
- Free or paid
- The framework is free. Its docs describe FastAPI Cloud, built by the same author and team, as a paid deployment service and the primary sponsor of the project; we did not open a price list for it. Pricing page
How to set it up
- In a project folder with a virtual environment, install FastAPI with its standard dependencies (the docs show uv; pip works too).
pip install "fastapi[standard]" - Create main.py with the example app from the docs.
- Run the development server, then open /docs on the local address for the interactive documentation.
fastapi dev
Good to know
- FastAPI is for APIs; for HTML pages, admin screens and user accounts you add other libraries or pair it with a front-end framework.
Spring Boot
Free81,705 GitHub starslast code update 17 October 2026
A Java framework that makes it easy to create stand-alone, production-grade Spring applications that you can just run. It configures the Spring platform and third-party libraries automatically and embeds the web server, so an app runs as a single program.
- Who it suits
- Java teams in companies, banks and government projects building web services and back ends.
- How it is used
- Generate a project on start.spring.io with the starters you need, open it in your IDE and run it with Maven or Gradle.
- Runs on
- Java JDK (the tutorial shows Java 17) with Maven or Gradle, on any operating system
- Licence
- Apache-2.0
- Free or paid
- Free and open source under Apache-2.0. We did not check the paid support offered around Spring, so it is not described here. Pricing page
How to set it up
- Check that Java and Maven are installed.
java -version && mvn -v - Create a project on start.spring.io with the Spring Web dependency, download it and unzip it (or write the pom.xml from the tutorial).
- Run the application, then open http://localhost:8080.
mvn spring-boot:run - When ready, build a single runnable jar.
mvn package
Good to know
- Spring Boot is large; the first build downloads many dependencies and a simple app uses more memory than the lighter frameworks on this page.
ASP.NET Core
Free38,484 GitHub starslast code update 23 October 2026
Microsoft’s open-source, cross-platform framework for building web apps, APIs and real-time services with C#. It covers Razor Pages and MVC for server-rendered sites, Blazor for interactive web UI and minimal APIs for services.
- Who it suits
- C# and .NET teams, including companies already using Microsoft tools, building web apps and APIs.
- How it is used
- Install the .NET SDK, create a project from a template with dotnet new, and run it with hot reload using dotnet watch.
- Runs on
- .NET SDK on Windows, macOS and Linux
- Licence
- MIT
- Free or paid
- Free and open source under MIT. There is no paid edition of the framework. Pricing page
How to set it up
- Download and install the latest .NET SDK from Microsoft’s .NET site.
- Create a Razor Pages web app (or use the blazor template for an interactive app).
dotnet new webapp -o RazorPagesSample - Move into the folder and run the app with hot reload; it opens in your browser.
cd RazorPagesSample && dotnet watch
Good to know
- The getting-started page we read was the .NET 10 version; templates and commands can differ in older versions.
Flask
Free74,969 GitHub starslast code update 7 October 2026
A lightweight Python web framework designed to make getting started quick and easy, with the ability to scale up to complex applications. It provides routing, templates and request handling, and leaves the choice of database and other tools to you.
- Who it suits
- Python developers building small sites, internal tools, prototypes and simple APIs.
- How it is used
- Create a virtual environment, install Flask with pip, write the app in one Python file and run it with the flask command.
- Runs on
- Python 3.9 and newer on Windows, macOS and Linux
- Licence
- BSD-3-Clause
- Free or paid
- Free and open source, developed by the Pallets project. No paid edition. Pricing page
How to set it up
- Create a project folder and a virtual environment inside it.
python3 -m venv .venv - Activate the environment (on Windows the docs show .venv\Scripts\activate).
. .venv/bin/activate - Install Flask.
pip install Flask - Save the quickstart example as hello.py and run it, then open http://127.0.0.1:5000.
flask --app hello run
Good to know
- The built-in server is for development; the docs point to a production WSGI server for deployment.