This repository has endpoints that help convert an xlsx file to xForm and another that helps convert an xForm to an Enketo.
-
Clone the repository
-
If you have docker running then just run
make start
-
Otherwise, for the xform to enketo endpoint, run
cd xform-to-enketo
and thennpm install
to install dependencies. To run the app usenode server.js
and thepost
endpoint will be available at http://localhost:5261/api/xlsform-to-enketoFor the xlsx to xform endpoint, run
cd xls-to-xform
and thenpoetry install
to install dependencies. Runpoetry run python server.py
To run the app use node server.js and the endpoint will be available at
post
http://localhost:5262/api/convert_xls_to_xml"