serverless-offline icon indicating copy to clipboard operation
serverless-offline copied to clipboard

Use “sls offline start” command to run fullstack app

Open fedeiglesias opened this issue 3 years ago • 0 comments

Hi there!

Thank you for this great plug-in for sls! Almost always I develop fullstack application. They usually have a small api and a frontend app built in React/Vue that I upload to an S3 Bucket using S3sync and make it public through Cloudfront. I would like to be able to use the "sls offline start" command to execute the development environment of both, the backend and the frontend part, but I couldnt find a solution until today. Currently I run the API with “sls offline start” and I run “npm run dev” in another console instance tu run the Frontend part.

Can someone give me a hint on how to solve this issue?

Thank you in advance!

fedeiglesias avatar Dec 14 '22 02:12 fedeiglesias