Sample server code to provide Web Services for the ARchi VR App using:
- Flask
- Python
The sample code references a fictitious company named "Verified Spaces Inc.".
Replace the fictitious www.verifiedspaces.com with your own domain.
The sample code contains examples for:
- Service Extension
- Workflow Extension
- Curation Extension
The respond of these Web Services is a Action as JSON object. See Technical Documentation of ARchi VR for more details.
- Get a Web server up and running when not yet available
- Install Flask
- Download the sample code of this repository
- Make the
extensionfolder accessible via your Web server - Copy the
arextdirectory to your flask environment - Change all
www.verifiedspaces.comreferences to your own domain inextension/ext.jsonandarext/controllers.py - Reload Flask app (or setup autoloading)
- Check service availability by calling
https://_yourdomain_/arext/test - Define your planned extensions in the
ext.jsonfile - Request the registration of your extension by sending an email to support@metason.net) with the
ext.jsonfile attached - Start coding your own Web services in
controllers.py...