Acessing Sails API endpoint from another react website #133
Closed
MaheshkumarSundaram
started this conversation in
General
Replies: 1 comment 4 replies
-
This is an odd scenario... I don't know if I can provide effective guidance on this. The user is going to have to wait until the second site has loaded the JSON from the first. The second site is going to have to make a request to the first to load the JSON on the client. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@neonexus,
I would like your take on the below use case:
I have this Sails.js-React webapp with MySQL DB. For a particular scenario, I have to launch another website (also React front-end but it does not have a backend) from this web app & also need to pass a JSON file to it while launching.
JSON files are stored in MySQL to which Sails has access to. The size of a JSON file would be max 10 MB.
Could you please suggest an effective approach to deal with this? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions