React后台

scala-webapp-template — React 后台模板

作者 wiringbits

Wiringbits 开源的 Scala/Scala.js 全栈 Web 应用骨架,内置用户注册、登录、管理后台与部署脚本,前端集成 React 生态。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-09-30查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

内置用户注册、登录、邮箱验证、资料更新、密码找回与验证码防刷

02

前端基于 Scala.js 接入 React 生态,默认使用 Material UI,可替换组件库

03

前后端共享代码,表单校验逻辑在两端保持一致

04

数据层使用 PostgreSQL,并提供服务端与前端表单的测试工具

05

附带 GitHub Actions 持续集成流程与部署到云实例的脚本

模板详细介绍

这是一个用 Scala 与 Scala.js 构建传统 Web 应用的项目骨架,由 Wiringbits 在多个实际项目中迭代形成。它把用户注册与认证、邮箱验证、资料更新、密码找回、验证码防刷等常见模块预先搭好,并附带管理后台。前端通过 Scala.js 接入 React 生态,默认使用 Material UI 组件库,也可以替换为其他组件库;前后端共享同一份代码,因此校验逻辑天然保持一致。数据层使用 PostgreSQL。项目还提供面向服务端代码的测试组件、前端表单测试工具、异步操作时的统一 UI 状态处理,以及类型化数据输入,使到达后端的请求已经过校验。仓库包含 GitHub Actions 持续集成流程和部署到云实例的脚本,架构说明与常见任务短指南放在 docs 目录中。演示站点提供用户端应用与 Swagger UI 形式的 API 文档。

React后台

适合你的项目吗?

适用场景

  • 需要快速搭建带用户体系与管理后台的 Scala Web 应用
  • 希望前后端使用同一语言并复用校验逻辑的项目
  • 以 PostgreSQL 作为主数据存储的传统服务端渲染或 SPA 应用
  • 需要参考持续集成与云实例部署流程的团队

适合人群

  • 熟悉或愿意使用 Scala/Scala.js 的开发团队
  • 需要用户注册、登录与后台管理开箱即用骨架的项目
  • 接受 PostgreSQL 与 React 组件库技术选型的应用
  • 希望减少前期技术选型与样板代码投入的开发者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    先阅读仓库 docs 目录中的文档或观看 onboarding 视频了解上手流程

  2. 2

    本地运行需要准备 Scala 构建环境与 PostgreSQL 数据库

  3. 3

    演示站点可注册账号体验用户端,API 文档位于 /api/docs/index.html

  4. 4

    部署脚本面向云实例,使用前需按自身环境调整配置

  5. 5

    代码采用 MIT 许可,但演示图片、字体、图标等第三方素材需单独核对许可

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 项目本身免费开源,但作者以咨询与开发服务为资金来源;如需商业支持或定制开发,需联系作者付费雇佣,属于可选的外部付费服务,不影响免费使用。
  • 默认前端组件库为 Material UI(v3),其自身遵循独立许可;若替换或使用其他 React 组件库,需自行核对其许可条款。
  • 数据层依赖 PostgreSQL,本地运行与部署需自行准备并维护 PostgreSQL 数据库实例。
  • 部署脚本面向云实例,使用前需按自身环境调整配置,并自行承担云服务器等外部服务费用。
  • 演示站点仅用于体验,注册账号等操作涉及外部服务;演示中的图片、字体、图标等第三方素材需单独核对许可。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

The open source work we do is funded by our Scala/Scala.js consulting and development services, [schedule a call](http://alexis.wiringbits.net/) to hire us for your project.

README 原文

Integration with the React ecosystem, most libraries/components will work right away, while we use [Material UI](https://v3.mui.com/), you can switch to your preferred component library.

README 原文

PostgreSQL as the data store layer, which is a reasonable choice for most web applications.

README 原文

Deployment scripts to cloud instances, we believe in simplicity and most projects are fine with simple managed servers instead of containers/K8s/etc.

README 原文

We have a live demo so that you can get a taste on what our template provides.

README 原文
https://github.com/wiringbits/scala-webapp-template/blob/main/LICENSEhttps://github.com/wiringbits/scala-webapp-template/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-09-30。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 91 / 100
技术栈
React
网站类型
后台
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-05-31
截图检查日期
2026-09-30

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 React。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: dbdbfd9e2e785233c651ecc25e291b578eda82a95232b35a85668ffef81efb08

2026-09-30T09:21:05.087Z

来源文件 / 仓库
# Wiringbits Web Application Template

![wiringbits](https://github.com/wiringbits/scala-webapp-template/workflows/Build%20the%20server%20app/badge.svg)
[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-1.6.0.svg)](https://www.scala-js.org)

This is the skeleton used by Wiringbits when creating new web applications in Scala/Scala.js, so far, we have created ~10 projects from this template, back-porting useful details to improve it.

If you require building a Web Application in Scala while you do not have the time to do many technical choices, this template could be a reasonable choice.


## Why?

Scala has a common misconception, many people believe that it is hard to get productive with it, at Wiringbits, we have proven the contrary with this template. Engineers with no previous Scala experience tend to start contributing simple bug fixes at their first week (including undergrad interns).

Our template provides all the necessary boilerplate to get started fast when building a traditional web application.

Don't waste your time evaluating every library required to build your web app, pick this template and go from there.

Using Scala.js not only save us considerable time, it also allows us to avoid many common issues, for example, all frontend/backend validations are in sync just because the code is the same.


## Demo

We have a live demo so that you can get a taste on what our template provides.

- [Web App](https://template-demo.wiringbits.net) showcases the web application intended for the general user, explore it and create an account to get an idea on what your users will experience.
- [API Docs](https://template-demo.wiringbits.net/api/docs/index.html) showcases the [Swagger UI](https://swagger.io/tools/swagger-ui/) which can help to explore the API directly.

### Short videos

Users app 1m demo:

[![Users app 1m demo](./docs/assets/demo-video-01.png)](https://youtu.be/hURUK4NCGBk "Users app 1m demo")

Deployment 2m demo:

[![Deployment 2m demo](./docs/assets/demo-video-02.png)](https://youtu.be/cN599dMa9EA "Deployment 2m demo")


## What's included?

1. User registration and authentication; Including email verification, profile updates, password recovery, and, captcha for spam prevention.
2. Integration with the React ecosystem, most libraries/components will work right away, while we use [Material UI](https://v3.mui.com/), you can switch to your preferred component library.
3. PostgreSQL as the data store layer, which is a reasonable choice for most web applications.
4. Practical components for testing your server-side code, writing tests for the Data/Api layer is real simple, no excuses accepted.
5. Practical frontend utilities, for example, test your frontend forms easily, consistent UI when performing asynchronous actions (fetching/submitting data), etc.
6. Typed data inputs, don't bother running simple validations to form data at the backend, accepted requests are already validated.
7. Reasonable Continuous-Integration workflows, don't waste time reviewing code format, asking whether tests are passing or looking at jobs logs finding which test failed (thanks to [TestForest Dashboard](https://github.com/marketplace/actions/testforest-dashboard) action), Github Actions do this for you.
8. A simple to follow architecture, including short-guides for doing common tasks. 
9. Deployment scripts to cloud instances, we believe in simplicity and most projects are fine with simple managed servers instead of containers/K8s/etc.

## Get started

Read the [docs](./docs/README.md) or watch our [onboarding videos](http://onboarding.wiringbits.net).


## Presentations

There have been some presentations involing this project:

- Jan 2023; [ScaLatin](https://scalac.io/scalatin/); [Creando aplicaciones web con Scala/Scala.js](https://www.youtube.com/watch?v=PqI8brUxCRg); [slides](http://scalatin2023.wiringbits.net)
- Oct 2022; [ScalaCon](https://www.scalacon.org/); [A Practical Skeleton for Your Next Scala Scala js Web Application](https://www.youtube.com/watch?v=xWGMr0AsAMU)

## Scala.js bundle size
These are code-size measurements from the deployed version at 5/Feb/2023, overall, Scala.js core is minimal, gzipped versions are usually less than 1Mb.

### Web app

![sssppa-web-code-size](./docs/assets/images/sssppa-web-code-size.png)

## Hire us

The open source work we do is funded by our Scala/Scala.js consulting and development services, [schedule a call](http://alexis.wiringbits.net/) to hire us for your project.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。