https://serverless-stack.com/ logo
#help
Title
# help
e

Ernie Francis

03/11/2022, 12:37 AM
im trying to run sst with a expo(React native) frontend but i find myself having to manually update the generated API and websocket URL's for debugging.
f

Frank

03/11/2022, 10:35 AM
@Ernie Francis you can run
sst start --outputs-file outputs.json
to have all the outputs dumped to the JSON file.
Would that work?
j

Jeff Hanna

03/11/2022, 3:10 PM
@Ernie Francis thanks for asking this! I was copy/pasting from terminal to my expo project, this will be helpful btw I am using the same stack (sst and expo)! I’m no expert but feel free to DM me/tag me if I can ever help. FYI expo works well with AWS Amplify so your react native app can be published as a web app 👌
e

Ernie Francis

03/14/2022, 6:04 PM
@Frank the json output may work. but if we could do that there might be a way to PR an SST constructor for an Expo app. more or less just a way to inject the output.json file into env vars for expo.
f

Frank

03/22/2022, 6:40 AM
Ah good idea. Lemme open an issue for now to track this https://github.com/serverless-stack/serverless-stack/issues/1562