(Requires full stack)
We need to be able to download the app directly from the landing page (https://trypear.ai/pricing). Currently the buttons are disabled and we can only allow people by sending them google drive link (LUL).
In this PR, we have the foundational code for the download endpoint on the server, and needs to be further worked upon.
For app download, we should probably use object storage on Digital ocean, but for now directly within the server is fine too.
Solution
The authed endpoint should return a temporary link to the client.
This temporary link will be used by client to download the app.
Flow should be (all authed): NextJS UI --> NextJS backend --> Python backend server.
Context
(Requires full stack) We need to be able to download the app directly from the landing page (https://trypear.ai/pricing). Currently the buttons are disabled and we can only allow people by sending them google drive link (LUL).
In this PR, we have the foundational code for the download endpoint on the server, and needs to be further worked upon. For app download, we should probably use object storage on Digital ocean, but for now directly within the server is fine too.
Solution
Flow should be (all authed): NextJS UI --> NextJS backend --> Python backend server.
Example code
NextJS UI:
NextJS backend
Python server https://github.com/trypear/pearai-server/pull/81