Zapier backup is used to upload your files to Hausra server and trigger a backup for the same file on Google Drive. The drive link where all the backups get saved is: https://drive.google.com/open?id=1pYSTjW7pooVf3_kUXm_vj-cZVAVt9JSb
You follow the following steps to upload your file:
- Login/Sign-Up at http://ui.akin49.hasura-app.io/
- You will be taken to upload page.
- Drag and drop the file you want to upload.
- Click the upload button, to upload the file and trigger backup.
- When the user uploads the file, the file is sent to the backend.
- Various validations are performed like valid type of file etc.
- If all validations succeed, the backend pushes the file to Hasura infra.
- As soon as the the backend receives the response from Hasura about successful file upload, it triggers a backup to save the file to Google Drive using Zapier Zap.
The backend is written in Python using the Flask framework. The source code lies in microservices/app/src
directory. server.py
is where you want to start modifying the code.
Frontend uses React-JS and the source code lies in microservices/ui/app/src
If you happen to get stuck anywhere, please contact us at vikasprasad.prasad@gmail.com or amalchandrandev@gmail.com
You can create pull requests for any contribution.