Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

70 Commits

Repository files navigation

dart_node

Write your entire stack in Dart: React web apps, React Native mobile apps with Expo, and Node.js Express backends.

Documentation

React and React Native

Packages

PackageDescription
dart_node_coreCore JS interop utilities
dart_node_expressExpress.js bindings
dart_node_wsWebSocket bindings
dart_node_reactReact bindings
dart_node_react_nativeReact Native bindings
dart_node_mcpMCP server bindings
dart_node_better_sqlite3SQLite3 bindings
dart_jsxJSX transpiler for Dart
refluxRedux-style state management
dart_loggingStructured logging
dart_node_coverageCode coverage for dart2js

Dev Container (Recommended)

This project includes a Dev Container that provides a fully configured development environment with Dart, Node.js, and Chromium pre-installed. Open the project in VSCode and select Reopen in Container when prompted.

Why use it?

  • Consistent environment — Dart 3.10, Node 20, and Chromium are pinned and pre-configured. No version mismatches across machines.
  • Avoids Windows + Node.js performance issues — Node.js file-heavy operations (npm install, dart2js output, node_modules creation) run up to 4x slower on Windows than Linux due to NTFS overhead and Windows Defender real-time scanning. Yo will probably get better performance running on WSL2. The Dev Container sidesteps this entirely by running inside a Linux container.
  • Zero setup — Coverage thresholds, linting, and test tooling are pre-configured via environment variables and VSCode settings.

Quick Start

# Switch to local deps
dart tools/switch_deps.dart local# Run everything
sh examples/run_taskflow.sh

Open http://localhost:8080/web/

Mobile: Use VSCode launch config Mobile: Build & Run (Expo)

License

BSD 3-Clause License. Copyright (c) 2025, Christian Findlay.

About

Write your entire stack in Dart: React web apps, React Native mobile apps with Expo, and Node.js Express backends.

Topics

Resources

Stars

113 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages