{"id":19032606,"url":"https://github.com/bitbravo/react-form-builder","last_synced_at":"2025-02-21T20:28:17.066Z","repository":{"id":120975081,"uuid":"139191286","full_name":"BitBravo/react-form-builder","owner":"BitBravo","description":"React form builder","archived":false,"fork":false,"pushed_at":"2018-12-06T05:40:40.000Z","size":655,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T04:27:58.963Z","etag":null,"topics":["bootstrap","react-clipboard","react-drag-and-drop","reactjs","redux","redux-thunk","urlencode","usertoken","webpack4"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BitBravo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-06-29T20:10:50.000Z","updated_at":"2020-02-05T08:22:20.000Z","dependencies_parsed_at":"2024-02-01T12:43:32.774Z","dependency_job_id":null,"html_url":"https://github.com/BitBravo/react-form-builder","commit_stats":null,"previous_names":["bitbravo/react-form-builder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitBravo%2Freact-form-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitBravo%2Freact-form-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitBravo%2Freact-form-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitBravo%2Freact-form-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitBravo","download_url":"https://codeload.github.com/BitBravo/react-form-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240082750,"owners_count":19745284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","react-clipboard","react-drag-and-drop","reactjs","redux","redux-thunk","urlencode","usertoken","webpack4"],"created_at":"2024-11-08T21:29:29.940Z","updated_at":"2025-02-21T20:28:17.038Z","avatar_url":"https://github.com/BitBravo.png","language":"JavaScript","readme":"React Formbuilder\n\n\n# Installation\n\nTo run the formbuilder locally, you can issue the following commands:\n\n```\n`bash\n\n$ cd React_FormBuilder  \n$ npm install\n$ npm run start  \n```\n\nWhen you generate a form, you're actually generating two *tokens*:\n- the *adminToken*, that you need to keep secret, giving you access to all the\n  submitted data;\n- the *userToken*, that's used by users to find back the proper form.\n\nOne interesting property of the *userToken* is that it is actually half of the\nadmin token !\n\nWith that in mind, let's say we've generated a form with an *adminToken* of `152e3b0af1e14cb186894980ecac95de`. The *userToken* is then `152e3b0af1e14cb1`.\n\nSo if we want to have access to the data on the server, using curl, we need to authenticate as the admin (using [BasicAuth](https://en.wikipedia.org/wiki/Basic_access_authentication) with `form:{adminToken}`):\n\n```\n$ SERVER_URL=\"http://localhost:8888/v1\"\n$ ADMIN_TOKEN=\"152e3b0af1e14cb186894980ecac95de\"\n$ FORM_ID=\"152e3b0af1e14cb1\"\n$ curl $SERVER_URL/buckets/formbuilder/collections/$FORM_ID/records \\\n   -u form:$ADMIN_TOKEN | python -m json.tool\n{\n    \"data\": [\n        {\n            \"how_are_you_feeling_today\": \"I don't know\",\n            \"id\": \"7785a0bb-cf75-4da4-a757-faefb30e47ae\",\n            \"last_modified\": 1464788211487,\n            \"name\": \"Clark Kent\"\n        },\n        {\n            \"how_are_you_feeling_today\": \"Quite bad\",\n            \"id\": \"23b00a31-6acc-4ad2-894c-e208fb9d38bc\",\n            \"last_modified\": 1464788201181,\n            \"name\": \"Garfield\"\n        },\n        {\n            \"how_are_you_feeling_today\": \"Happy\",\n            \"id\": \"aedfb695-b22c-433d-a104-60a0cee8cb55\",\n            \"last_modified\": 1464788192427,\n            \"name\": \"Lucky Luke\"\n        }\n    ]\n}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbravo%2Freact-form-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbravo%2Freact-form-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbravo%2Freact-form-builder/lists"}