{"id":24610956,"url":"https://github.com/scilifelabdatacentre/form-manager","last_synced_at":"2026-04-12T14:38:33.621Z","repository":{"id":38241546,"uuid":"479530113","full_name":"ScilifelabDataCentre/form-manager","owner":"ScilifelabDataCentre","description":"A simple system for receiving form submissions.","archived":false,"fork":false,"pushed_at":"2025-03-12T16:39:33.000Z","size":854,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-12T17:35:53.419Z","etag":null,"topics":["flask","mongodb","python","quasar-framework","vue"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScilifelabDataCentre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-08T20:30:58.000Z","updated_at":"2025-02-05T08:34:16.000Z","dependencies_parsed_at":"2025-02-03T17:20:45.796Z","dependency_job_id":"9f530ff9-47b7-4d9a-a620-1e8ffd95cf37","html_url":"https://github.com/ScilifelabDataCentre/form-manager","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Fform-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Fform-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Fform-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScilifelabDataCentre%2Fform-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScilifelabDataCentre","download_url":"https://codeload.github.com/ScilifelabDataCentre/form-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244244912,"owners_count":20422406,"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":["flask","mongodb","python","quasar-framework","vue"],"created_at":"2025-01-24T19:19:51.258Z","updated_at":"2025-12-31T00:16:01.755Z","avatar_url":"https://github.com/ScilifelabDataCentre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Form Manager\n============\n\n[![Backend Tests](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/backend-tests.yml/badge.svg)](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/backend-tests.yml)\n[![codecov](https://codecov.io/github/ScilifelabDataCentre/form-manager/branch/main/graph/badge.svg?token=MQX98Q3NYU)](https://codecov.io/github/ScilifelabDataCentre/form-manager)\n[![Black formatting](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/python-black.yml/badge.svg)](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/python-black.yml)\n[![CodeQL](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/codeql-analysis.yml)\n[![Trivy Scan](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/trivy.yaml/badge.svg)](https://github.com/ScilifelabDataCentre/form-manager/actions/workflows/trivy.yaml)\n\n⚠️ | Form Manager was initially created for Pathogens Portal's needs as a static site. \u003cbr\u003eFor other services, if you know you need forms in advance, do not default to using Form Manager.\n:---: | :---\n\nForm Manager is a simple system (backend/frontend) to receive web form `POST` submissions.\n\nLogin is performed using OpenID connect. There is no internal user account management.\n\nWhen a form is added, it will be given a unique ID. Form submission can then be done using POST to `/api/v1/form/\u003cidentifier\u003e/incoming`. The full url for submissions is also available:  `/api/v1/form/\u003cidentifier\u003e/url`.\n\nFeatures:\n* Send the form submission to an email address\n* Recaptcha validation (v2 confirmed to work)\n* Redirection to wanted page after submission\n\nCreated using:\n* Database: MongoDB\n* Backend: Python (Flask)\n* Frontend: Vue (Quasar)\n\nThe backend can be found in the `form_manager` folder, while the frontend is found in `frontend`.\n\n\n## Configuration\n\nAll configuration options are listed in `form_manager/conf.py`. Modify that file to change the configuration.\n\n\n## Development\n\nA complete development environment can be activated locally by running:\n\n```\ndocker-compose --profile dev up\n```\n\nIt will set up a database, a mail catcher, and one instance each of the backend and frontend, reachable at [http://localhost:5050](http://localhost:5050). The backend and frontend instance will use your local code, adapting to your changes.\n\nIf `FLASK_ENV` is set to `development` (done by default if you run the above command), you can log in by using the endpoint [http://localhost:5050/api/v1/development/login/linus@example.com](http://localhost:5050/api/v1/development/login/linus@example.com), where `linus@example.com` may be exchanged to any email you want to log in as.\n\nThe easiest way to use development environment is to paste the url to the login endpoint in a web browser, and then open [http://localhost:5050](http://localhost:5050) to use the system.\n\n\n## Testing\n\nThe tests can be run using the command:\n\n```\ndocker-compose --profile testing up --exit-code-from test\n```\n\n\n## Required Run Environment\n\nForm manager require a MongoDB instance, as well an instance of the frontend and backend. See the `docker-compose.yml` file.\n\nBackend and frontend container images are available from Packages in the Github repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscilifelabdatacentre%2Fform-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscilifelabdatacentre%2Fform-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscilifelabdatacentre%2Fform-manager/lists"}