npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@jianghujs/jianghu

v5.1.25

Published

Progressive Enterprise Framework

Downloads

339

Readme


特性

  • 简化协议 :JianghuJS 规范了前后端的数据通讯协议,通过简单的配置即可完成前后端开发,开发者只需专注于业务逻辑。
  • 🛠 内置常用功能 :开箱即用的功能,包括登录、用户管理、页面权限、数据权限、访问日志和操作日志等,极大地减少了开发时间。
  • 配置驱动开发 :业务相关配置保存在数据库中,通过简单的数据库配置即可实现业务逻辑的开发和配置。
  • 💡 快速生成工具jianghu-init 是 JianghuJS 框架的官方命令行工具,专为简化和加速项目和页面的创建而设计。它可以快速生成项目脚手架和页面模板。
  • 🔍 全源码生成 :其他框架生成的代码通常会封装起来,但JianghuJS 生成的是全源码。这使得开发者可以直接查看和修改生成的源代码,拥有更高的灵活性和控制权。
  • 📦 企业级模板 :JianghuJS 提供了一系列专为企业级应用定制的开源和可定制项目模板,如 ERP、CRM、企业官网、聊天和在线学习等。
  • 👩‍🏫 全栈培训课程 :江湖平台提供从零到一的全栈开发入门培训课程,包括技术文档、模块演示和开源应用,帮助初学者快速掌握企业应用开发。

快速预览

生成HTML页面源码
jianghu-init page --type=1table-page

image-20240916135112615

image-20240916141444461

数据库配置页面和接口
-- 添加页面
INSERT INTO `_page`(`pageId`, `pageName`) VALUES ('studentManagement', '学生管理');
-- 增加简单CRUD接口
INSERT INTO `_resource`(`pageId`, `actionId`, `desc`, `resourceType`, `resourceData`) VALUES ('studentManagement', 'selectItemList', '✅查询列表', 'sql', '{ \"table\": \"student\", \"operation\": \"select\" }');
-- 增加复杂逻辑接口,调用service处理逻辑
INSERT INTO `_resource`(`pageId`, `actionId`, `desc`, `resourceType`, `resourceData`) VALUES ('login', 'passwordLogin', '✅登陆', 'service', '{\"service\": \"user\", \"serviceFunction\": \"passwordLogin\"}');

开始使用

👉JianghuJS:一款面向小白的企业级全栈开发框架之快速入门视频教程

安装

npm install -g @jianghujs/jianghu-init@latest

生成项目

jianghu-init project --type=basic my-jh-project

安装并启动项目

cd my-jh-project
npm install
npm run dev

注: npm i如果安装失败可以尝试使用cnpm,或者切换您的镜像源,推荐使用pnpm

访问显示的地址即可进入项目。

  • 默认地址(详见终端输出): http://127.0.0.1:7205

  • 默认账号:admin

  • 默认密码:123456

image-20240821171903572

更多框架文档 内容请移步 江湖开发平台-文档页!

面向小白的学习课程请移步 江湖开发平台-培训页!

反馈

欢迎在提交问题上反馈。

开源协议

本项目采用Apache-2.0开源许可证。