GithubHelp home page GithubHelp logo

shuhaib-aot / formio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aot-technologies/formio

0.0 0.0 0.0 13.39 MB

A Form and Data Management Platform for Progressive Web Applications.

Home Page: https://form.io

License: Open Software License 3.0

JavaScript 99.87% Dockerfile 0.13%

formio's Introduction

Form Management Platform

Formio Formsflow-forms

formsflow.ai leverages form.io to build "serverless" data management applications using a simple drag-and-drop form builder interface.

To know more about form.io, go to https://form.io.

Prerequisites

  • For docker based installation Docker need to be installed.

Solution Setup

Installation

  • Make sure you have a Docker machine up and running.
  • Make sure your current working directory is "formio"
  • Rename the file sample.env to .env.
  • Modify the environment variables in the newly created .env file if needed. Environment variables are given in the table below,
  • NOTE : {your-ip-address} given inside the .env file should be changed to your host system IP address. Please take special care to identify the correct IP address if your system has multiple network cards

โ„น๏ธ Variables with trailing ๐Ÿšฉ in below table should be updated in the .env file

Variable name Meaning Possible values Default value
FORMIO_DB_USERNAME Mongo Root Username. Used on installation to create the database.Choose your own admin
FORMIO_DB_PASSWORD Mongo Root Password changeme
FORMIO_DB_NAME Mongo Database Name. Used on installation to create the database.Choose your own formio
FORMIO_ROOT_EMAIL forms-flow-forms admin login eg. [email protected] [email protected]
FORMIO_ROOT_PASSWORD forms-flow-forms admin password eg.changeme changeme
NO_INSTALL To setup FORMIO client ui 1 / 0 1
MULTI_TENANCY_ENABLED To enable multit tenancy true / false false
FORMIO_DEFAULT_PROJECT_URL๐Ÿšฉ forms-flow-forms default url http://{your-ip-address}:3001
FORMIO_JWT_SECRET forms-flow-forms jwt secret --- change me now ---

Additionally, you may want to change these

  • The value of Mongo database details (especially if this instance is not just for testing purposes)
  • The value of ROOT user account details (especially if this instance is not just for testing purposes)

Running the application

  • forms-flow-forms service uses port 3001, make sure the port is available.
  • cd {Your Directory}/formio
  • Run docker-compose up -d to start.

NOTE: Use --build command with the start command to reflect any future .env changes eg : docker-compose up --build -d

To stop the application

  • Run docker-compose stop to stop.

Health Check

The application should be up and available for use at port defaulted to 3001 in (i.e. http://localhost:3001/)

    Default Login Credentials
    -----------------
    User Name / Email : [email protected]
    Password  : changeme

Custom Components

formsflow.ai has custom components supported which are created by extending the base components within forms-flow-forms and then registering them within the core renderer.

Custom componets available in formsflow.ai are:

Component Name About How to use
Text Area with Analytics To enable Text fields for sentiment analysis processing link

If you are interested in adding custom components for your use case in formsflow.ai we highly recommend you to take a look at Custom Component Docs to understand how Form.io renderer allows for the creation of Custom components. You can also take a look at formio.contrib to look for examples and even contribute the custom components you create.

Adding new indexes

You can add new indexes in Mongodb shell, according to your requirement. You can create indexes like below example:

db.submissions.createIndex({
    "data.applicationStatus ": 1
})

In this example:

  • submissions is the collection name.
  • data.applicationStatus is the fields which are to be added in index.

LICENSE

We have build formsflow.ai form management platform leveraging formio. We use the OSL-v3 license similar to formio to ensure appropriate attribution is provided to form.io. Please read the license for more information.

formio's People

Contributors

abhilash-aot avatar abilpraju-aot avatar airarrazaval avatar aiwebb avatar alehkatsiubaformio avatar alena-levina avatar alexandraramanenka avatar alexeydavyd avatar andreiho avatar dependabot[bot] avatar douglaselee avatar josx avatar kyleformio avatar maksimfalei avatar maria-golomb avatar rahatarmanahmed avatar randallknutson avatar roflankisel avatar roma-formio avatar shuhaib-aot avatar sumesh-aot avatar tanyagashtold avatar tkachez avatar travist avatar vishugowd avatar vlad-shusterman avatar yuryrybak avatar yuryrybaksoftensity avatar zackurben avatar zoe-codez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.