Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jd-opensource/drip-form
基于React和JSONSchema的动态表单解决方案
https://github.com/jd-opensource/drip-form
form form-generator jsonschema react react-form
Last synced: 29 days ago
JSON representation
基于React和JSONSchema的动态表单解决方案
- Host: GitHub
- URL: https://github.com/jd-opensource/drip-form
- Owner: jd-opensource
- License: mit
- Created: 2021-11-26T02:51:49.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-07-20T09:06:54.000Z (over 1 year ago)
- Last Synced: 2024-05-22T12:20:40.614Z (6 months ago)
- Topics: form, form-generator, jsonschema, react, react-form
- Language: TypeScript
- Homepage: https://jd-opensource.github.io/drip-form/
- Size: 17.9 MB
- Stars: 602
- Watchers: 15
- Forks: 70
- Open Issues: 6
-
Metadata Files:
- Readme: README.EN.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-lesscode - drip-form - form)](https://github.com/JDFED/drip-form) ![GitHub last commit](https://img.shields.io/github/last-commit/JDFED/drip-form?label=%E6%9C%80%E5%90%8E%E6%9B%B4%E6%96%B0%E6%97%B6%E9%97%B4) (精选 LessCode 项目)
README
Drip-Form
[简体中文](./README.md) | English | [Documentation](https://jdfed.github.io/drip-form/) | [Discussions](https://github.com/JDFED/drip-form/discussions)
[contributors]: https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square 'Number of contributors on All-Contributors'
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
![node](https://img.shields.io/badge/node-%3E%3D13.14.0-blue.svg)
![yarn](https://img.shields.io/badge/yarn-%3E%3D1.0.0-blue.svg)
![document](https://img.shields.io/badge/documentation-yes-brightgreen.svg)
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
[![All Contributors][contributors]](./CONTRIBUTORS.md)
[![website](https://github.com/JDFED/drip-form/actions/workflows/website.yml/badge.svg?branch=dev)](https://github.com/JDFED/drip-form/actions/workflows/website.yml)## 📖 Introduction
Dynamic form solution based on React and JSONSchema.
Drip-Form uses **JSON configuration files** to generate forms with **data linkage, complex verification, asynchronous requests, and nesting**, which can reduce complex and redundant form development work.
The use of supporting **visual form generator and Node verification** tool can further improve the efficiency of form development.
Drip-Form has the following five ✨highlights✨:
- **Automation**:According to the form data, the initialization form can be automatically generated.
- **Semantic**:Concise and efficient JSON protocol helps developers understand.
- **Integrated verification**:Relying on `ajv`'s standardized verification capabilities, it can achieve integrated front-end and back-end verification.
- **Visualization**:Visually build and modify the form `Schema`.
- **Extensible**:Support secondary development, expandable custom component set and verification set.## 🔨How to use
### Environmental dependence
- node >=13.14.0
- yarn >=1.0.0### Install dependencies
```sh
npm install @jdfed/drip-form @jdfed/drip-form-theme
```### Simple to use
```jsx
import React, { memo } from 'react'
// Import core packages and themes
import DripForm from '@jdfed/drip-form'
import dripTheme from '@jdfed/drip-form-theme'
import '@jdfed/drip-form-theme/dist/index.css'
// Import configuration items
import unitedSchema from './unitedSchema.json'const Form = memo(() => (
))
```## 🤔 Contribution
The main purpose of this repository is to continue to develop and improve **Drip-Form**, making it more powerful, more stable, and more convenient to use.If you have suggestions or bug fixes for **Drip-Form**, please submit `issue` and `merge`. We are very grateful to the community for promoting bug fixes and improvements.
Please make sure to read the [Contributing Guide](./CONTRIBUTING.md) before making a pull request.
### ✨ Contributors
[Thanks goes to these wonderful people](./CONTRIBUTORS.md)
## RoadMap
:sparkle: View the [DripForm roadmap](https://github.com/orgs/JDFED/projects/2/views/7)
Our product roadmap is where you can learn about what features we're working on, what stage they're in, and when we expect to bring them to you. Have any questions or comments about items on the roadmap? Share your feedback via [GitHub discussions](https://github.com/JDFED/drip-form/discussions).
## 🌟 Thank you for your support
If Drip-Form solves your development pain points and is helpful to you, please don't begrudge your `star`🌟!
## 📄 License
MIT License
Copyright (c) 2020 JD.com, Inc.