Developed an Plugin Integration for Collect Systems Architecture which can be used for different actions through generating an .so
file.
In this project, we are developing a system for data collection for forms which will include user details(identification through id), forms detail, questions, responses detail and answers.
https://docs.google.com/document/d/1SJWn7xr43sQRojPts8QYsd40FdL5xhjitqP7vcYp1JI/edit?usp=sharing
Follow the following steps:
- Create your
.env
file and add you mongoDB URI in the variable nameMONGODB_URI
- You can add your port using
PORT
env variable. By default it is 3000. - Type
go get
orgo mod tidy
to fetch all the packages required. - To generate
.so file
run this :go build -buildmode=plugin -o actions/<ACTION_NAME>/action.so actions/<ACTION_NAME>/action.go
, ACTION_NAME = Google-Sheets for our use case. - Type
go run main.go
to start server. - You can use Postman to perform request.
- You'll get the spreadsheet link in the terminal.