All Projects → benzid-wael → Django Rest Formly

benzid-wael / Django Rest Formly

Generate angular-formly form configuration object for Django REST endpoints.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Django Rest Formly

ember-formly
JavaScript powered forms for Ember
Stars: ✭ 24 (+242.86%)
Mutual labels:  forms, form-builder
yii2-forms
Forms CRUD - formbuilder, generator code
Stars: ✭ 32 (+357.14%)
Mutual labels:  forms, form-builder
formio
Formio, form definition and binding library for Java platform
Stars: ✭ 24 (+242.86%)
Mutual labels:  forms, form-builder
view component-form
Rails FormBuilder for ViewComponent
Stars: ✭ 120 (+1614.29%)
Mutual labels:  forms, form-builder
Tellform
✏️ Free Opensource Alternative to TypeForm or Google Forms ⛺
Stars: ✭ 2,941 (+41914.29%)
Mutual labels:  forms, form-builder
django-siteforms
Django reusable app to simplify form construction
Stars: ✭ 15 (+114.29%)
Mutual labels:  forms, form-builder
react-emotion-multi-step-form
React multi-step form library with Emotion styling
Stars: ✭ 25 (+257.14%)
Mutual labels:  forms, form-builder
Forms
📝 Simple form & survey app for Nextcloud
Stars: ✭ 127 (+1714.29%)
Mutual labels:  forms, form-builder
Formvuelate
Dynamic schema-based form rendering for VueJS
Stars: ✭ 262 (+3642.86%)
Mutual labels:  forms, form-builder
React Reactive Form
Angular like reactive forms in React.
Stars: ✭ 259 (+3600%)
Mutual labels:  forms, form-builder
react-forms-processor
A forms processor for React
Stars: ✭ 63 (+800%)
Mutual labels:  forms, form-builder
React Hook Form
📋 React Hooks for form state management and validation (Web + React Native)
Stars: ✭ 24,831 (+354628.57%)
Mutual labels:  forms, form-builder
Core
The Form Tools Core.
Stars: ✭ 156 (+2128.57%)
Mutual labels:  forms, form-builder
react-cool-form
😎 📋 React hooks for forms state and validation, less code more performant.
Stars: ✭ 246 (+3414.29%)
Mutual labels:  forms, form-builder
Formmaster
Easily build big and bigger forms with minimal effort
Stars: ✭ 152 (+2071.43%)
Mutual labels:  forms, form-builder
django-formidable
On the way to glory! again!
Stars: ✭ 19 (+171.43%)
Mutual labels:  forms, form-builder
Form For
ReactJS forms made easy
Stars: ✭ 118 (+1585.71%)
Mutual labels:  forms, form-builder
Form Manager
PHP library to create and validate html forms
Stars: ✭ 124 (+1671.43%)
Mutual labels:  forms, form-builder
grav-plugin-form
Grav Form Plugin
Stars: ✭ 48 (+585.71%)
Mutual labels:  forms, form-builder
Django Fobi
Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.
Stars: ✭ 360 (+5042.86%)
Mutual labels:  forms, form-builder

django-rest-formly

npm version npm downloads Build Status David David

How to install

Just install it with npm:

    npm install -g django-rest-formly

This will install django-rest-formly globall and let you using the cli tool from anywhere.

** P.S: ** It's recommended to use VerboseMetadata class of djangorestframework-utils package, to explore all features of this project.

Usage

This package install a command line tool that let you render angular-formly fields' configuration for your Django Rest Framework endpoints.

Arguments

  • -h, --host <HOST> Specifies host address (by default: 127.0.0.1)
  • -p, --port <PORT> Specifies port number (by default 8000)
  • --root <PATH> Specifies API root path (by default '/')
  • -c, --color Colorize the command output, this option has effect only on the list command or the form command when it's used with --prettify option
  • --prettify Prettify the json output

Listing endpoint

The command list will list all existing endpoints for the specified API root (by default '/'). You can specify the API root with --root option. Note also, that you can change host (resp. port) value with --host (resp. --port) option.

$ django-rest-formly --host 192.168.99.100 --port 5000 --root /api

Generate Formly form configuration

The command form will generate angular-formly's form configuration for the specified endpoint, example:

$ django-rest-formly --host 192.168.99.100 --port 5000 --root /api users

The output will be the form's configuration for endpoint located on 192.168.99.100:5000/api/users

Project Status

The project is already in development status, and not all fields are supported and there is a lot of things to improve. For the moment, we support the below fields:

  • IntegerField
  • BooleanField
  • CharField
  • EmailField (HTML5)
  • PasswordField
  • RegexField (HTML5)
  • URLField (HTML5)
  • IPAddressField (HTML5)
  • DecimalField
  • FloatField
  • DateField (HTML5)
  • TimeField (HTML5)
  • DateTimeField (HTML5)

For further details, see Change Log.

Contributing

Contributions are welcome and appreciated. You can find django-rest-formly on GitHub, feel free to start an issue or create a pull requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].