项目 / grandnode/grandnode2

grandnode/grandnode2

行业推荐
语言 C#标签 ecommercemongodbnosqlcsharpecommerce-platformdotnetaspnet-coredockermulti-vendormulti-storeonline-shopshoppingcart数据更新 2026-11-24 06:50:13 · 仓库 2026-11-23

一段话介绍

基于 ASP.NET Core 10 和 MongoDB 的开源电商平台,可运行单店、多店或多商家市场,并同时服务 B2B 与 B2C,还提供 REST API 供无头店面和外部系统集成。可先到[演示店面](https://demo.grandnode.com/)试用(管理端入口与演示账号见仓库说明),或按[仓库 README](https://github.com/grandnode/grandnode2)用 Docker 启动后在本机 80 端口完成安装向导。产品介绍见 [grandnode.com](https://grandnode.com/),知识库见[文档中心](https://grandnode.com/knowledgebase)。稳定版在 `main` 分支和[发行页](https://github.com/grandnode/grandnode2/releases)。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
1,340累计星
550Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

电商交易与订单履约

适配系统:交易中台、订单履约系统 · 得分 1.4

内置商品、购物车、订单与支付对象模型,可作为电商交易中台直接改造复用。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
访问本地地址后,安装程序会要求提供 MongoDB 连接字符串和管理员账户,以完成 GrandNode2 安装。
特点或设计要点
grandnode2 支持多店铺与多供应商市场(含独立店主和供应商面板),兼顾 B2B/B2C 场景,具备多语言多货币、商品属性与拍卖等目录能力,以及插件化支付、配送、税费和 SEO 优化。
局限和适用边界
grandnode2 的 develop 分支为开发版本,可能不稳定,main 分支存放最新稳定版,稳定版本也可在 GitHub Releases 页面获取。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-23 · 语言 C# · 贡献者 —
self-host

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 10,374 字节。

<p align="center">
  <a href="https://grandnode.com/?utm_source=github&utm_medium=link&utm_campaign=readme">
    <img src="https://grandnode.com/logo.png" alt="GrandNode - open-source e-commerce platform for ASP.NET Core and MongoDB">
  </a>
</p>

<h1 align="center">GrandNode - open-source e-commerce platform for .NET</h1>

<p align="center">
  <strong>Free, fast and feature-rich online store software built with ASP.NET Core 10 and MongoDB.</strong><br />
  Multi-store, multi-vendor marketplace, B2B and B2C, multi-language and multi-currency - in one self-hosted application.
</p>

<p align="center">
  <a href="https://demo.grandnode.com/?utm_source=github&utm_medium=link&utm_campaign=readme"><strong>Live demo</strong></a>
  ·
  <a href="https://grandnode.com/?utm_source=github&utm_medium=link&utm_campaign=readme">Website</a>
  ·
  <a href="https://grandnode.com/knowledgebase?utm_source=github&utm_medium=link&utm_campaign=readme">Documentation</a>
  ·
  <a href="https://github.com/grandnode/grandnode2/discussions">Discussions</a>
  ·
  <a href="https://grandnode.com/official?utm_source=github&utm_medium=link&utm_campaign=readme">LTS & support</a>
</p>

<div align="center">

[![Latest release](https://img.shields.io/github/v/release/grandnode/grandnode2?sort=semver)](https://github.com/grandnode/grandnode2/releases)
[![Docker pulls](https://img.shields.io/docker/pulls/grandnode/grandnode2)](https://hub.docker.com/r/grandnode/grandnode2)
[![GitHub stars](https://img.shields.io/github/stars/grandnode/grandnode2?style=flat)](https://github.com/grandnode/grandnode2/stargazers)
[![License: GPL v3](https://img.shields.io/github/license/grandnode/grandnode2)](LICENSE)
<br />
[![Tests on Linux, macOS and Windows](https://github.com/grandnode/grandnode2/actions/workflows/aspnetcore.yml/badge.svg)](https://github.com/grandnode/grandnode2/actions/workflows/aspnetcore.yml)
[![Docker Image CI](https://github.com/grandnode/grandnode2/actions/workflows/docker-image.yml/badge.svg)](https://github.com/grandnode/grandnode2/actions/workflows/docker-image.yml)
[![CodeQL Advanced](https://github.com/grandnode/grandnode2/actions/workflows/codeql.yml/badge.svg)](https://github.com/grandnode/grandnode2/actions/workflows/codeql.yml)
[![Trivy](https://github.com/grandnode/grandnode2/actions/workflows/trivy.yml/badge.svg?branch=develop)](https://github.com/grandnode/grandnode2/actions/workflows/trivy.yml)

</div>

## Table of Contents

* [What is GrandNode?](#what-is-grandnode)
* [Key features](#key-features)
* [Technology stack](#technology-stack)
* [Quick start](#quick-start)
* [Online demo](#online-demo)
* [Documentation](#documentation)
* [Community and support](#community-and-support)
* [Contributing](#contributing)
* [Sponsors](#sponsors)
* [License](#license)

## What is GrandNode?

GrandNode is a free, open-source **e-commerce platform written in C# on ASP.NET Core**, with **MongoDB** as its
database. It runs a single online shop just as well as a multi-store installation or a **multi-vendor
marketplace**, serves **B2B and B2C** customers from the same catalog, and exposes a **REST API** for headless
storefronts, mobile apps and integrations with ERP, PIM and CRM systems.

It is built for developers and agencies on .NET who need a shopping cart they can host anywhere - on Linux,
Windows, in Docker or Kubernetes - and extend with plugins and themes, without per-store licence fees.

## Key features

### Selling
- 🏪 **Multi-store** - run many storefronts, domains and catalogs from one installation, with a separate store owner panel
- 🤝 **Multi-vendor marketplace** - vendors manage their own products and orders in a dedicated vendor panel
- 👥 **B2B and B2C** - customer groups, tier prices, sales employees
- 🌎 **Multi-language and multi-currency** - localized content, right-to-left support, automatic exchange rates
- 🛒 **Advanced product catalog** - product attributes and combinations, bundles, grouped products, downloadable products, reservations and auctions
- 💳 **Payments** - Stripe Checkout, Braintree, cash on delivery and more through plugins
- 🚚 **Shipping** - fixed rate, by weight, pickup points
- 🧾 **Taxes** - fixed rate or by country, state and zip code

### Marketing and SEO
- 🔍 **SEO-friendly** - clean URLs, meta tags, canonical URLs, XML sitemaps and schema.org JSON-LD with price, availability, rating, shipping and return policy
- 🏷️ **Discounts and promotions** - coupon codes, discount rules, loyalty points, gift vouchers
- 🎯 **Customer segmentation** - target customer groups and tags with content, prices and discounts
- 📧 **Newsletters and messaging** - message templates, campaigns, push notifications
- 📊 **Analytics** - Google Analytics and Facebook Pixel integrations

### Look and feel
- 🎨 **Themes** - Default, Modern and Nordic Editorial storefront themes included, with per-store theme selection
- 📱 **Responsive** - Vue 3 and Bootstrap 5 storefront that works on every device
- 🧩 **Content** - CMS pages, blog, news, sliders and widget zones

## Technology stack

| Area | Technology |
| --- | --- |
| Backend | **ASP.NET Core 10**, C# |
| Database | **MongoDB 4.0+** (also Azure Cosmos DB and Amazon DocumentDB through the MongoDB API, LiteDB for small installs) |
| Storefront | **Vue 3**, Bootstrap 5, bundled with Vite |
| Admin panels | Bootstrap 5, Tabulator grids - Admin, Store owner and Vendor panels |
| API | REST backend and frontend API with OpenAPI |
| Deployment | **Docker** images on Docker Hub and GHCR, Linux, Windows, Kubernetes-ready |
| Extensibility | Plugins (payments, shipping, tax, widgets, authentication, discount rules), themes, modules |

## Quick start

### Prerequisites

| Tool | Version | Needed for |
| --- | --- | --- |
| [.NET SDK](https://dotnet.microsoft.com/download) | **10.0.100** or newer | building and running everything. The version is pinned in `global.json` with `rollForward: latestFeature`, so any 10.0.x SDK works |
| [MongoDB](https://www.mongodb.com/try/download/community) | **4.0+** | the database. A local server, a Docker container or a MongoDB Atlas cluster all work |
| [Node.js](https://nodejs.org/) + npm | **22 LTS** (22.22+) or **24 LTS** (24.15+); the admin panel tests need it, the builds alone run on 20.19+ | only when you change the storefront or admin panel frontend sources. The build output is committed, so you can run the shop without Node |
| IDE | any with .NET 10 support - Visual Studio, JetBrains Rider, VS Code | optional |

The `develop` branch is the development version and may be unstable; `main` holds the latest stable version.
Stable versions are also on the [Releases](https://github.com/grandnode/grandnode2/releases) page.

### Run with Docker

```bash
docker network create grandnode
docker run -d --name mongo --network grandnode -v grandnode_db:/data/db mongo
docker run -d --name grandnode2 --network grandnode -p 80:8080 -e Application__MediaPath=/app/media -v grandnode_appdata:/app/App_Data -v grandnode_media:/app/media grandnode/grandnode2
```

Open <http://localhost>, and the installer asks for the MongoDB connection string (`mongodb://mongo:27017/grandnode`
with the commands above) and the administrator account. `App_Data` keeps the settings and the installation state,
and `/app/media` keeps everything the store writes at runtime (uploaded images, thumbnails, custom CSS/JS,
sitemaps), so both survive a container update.

### Run from source

```bash
git clone https://github.com/grandnode/grandnode2.git
cd grandnode2
dotnet build GrandNode.slnx
dotnet run --project src/Web/Grand.Web
```

Build the whole solution once before the first run: plugins and modules copy themselves into the web project's
output when they are built. Run with `ASPNETCORE_ENVIRONMENT=Development` (the launch profiles already set it),
otherwise the admin panel loads without its CSS and JavaScript.

More ways to install - several instances behind a load balancer, hosting on Linux with systemd - are in
[docs/installation.md](docs/installation.md). Building the frontend bundles and working on the code are in
[docs/development.md](docs/development.md).

## Online demo

* Storefront: [demo.grandnode.com](https://demo.grandnode.com/?utm_source=github&utm_medium=link&utm_campaign=readme)
* Admin panel: [demo.grandnode.com/admin](https://demo.grandnode.com/admin/?utm_source=github&utm_medium=link&utm_campaign=readme) - email `admin@yourstore.com`, password `123456`

The demo is restored to its original state once per day.

## Documentation

* [Installation](docs/installation.md) - Docker, multiple instances, Linux hosting
* [Development](docs/development.md) - building the backend and frontend, running locally
* [User and developer guides](https://grandnode.com/knowledgebase?utm_source=github&utm_medium=link&utm_campaign=readme) in the GrandNode knowledgebase
* [Contributing guide](CONTRIBUTING.md)

## Community and support

* Questions and ideas: [GitHub Discussions](https://github.com/grandnode/grandnode2/discussions)
* Bugs and feature requests: [GitHub Issues](https://github.com/grandnode/grandnode2/issues/new/choose)
* Security vulnerabilities: see the [security policy](SECURITY.md) - please do not open public issues
* Commercial help: [GrandNode Official](https://grandnode.com/official?utm_source=github&utm_medium=link&utm_campaign=readme) - LTS releases and support

See [SUPPORT.md](SUPPORT.md) for where each kind of question goes.

## Contributing

GrandNode is and always will be free and open-source. You can help by:

- starring the project on GitHub, so other .NET developers find it,
- reporting bugs and suggesting features in [Issues](https://github.com/grandnode/grandnode2/issues/new/choose),
- picking up a [good first issue](https://github.com/grandnode/grandnode2/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22) and submitting a pull request - see [CONTRIBUTING.md](CONTRIBUTING.md),
- becoming a sponsor.

GrandNode has adopted the Contributor Covenant as its [Code of Conduct](CODE_OF_CONDUCT.md).

## Sponsors

Become a sponsor and get your logo on this README with a link to your site:
[become a sponsor on Open Collective](https://opencollective.com/grandnode#sponsor).

## License

GrandNode is free software distributed under the [GNU General Public License v3.0](LICENSE).
↑