dherault / dherault/serverless-offline

Use “sls offline start” command to run fullstack app

Open
#1,628 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
5.3k
Forks
811
Avg merge
2d 4h
Merged PRs (30d)
3

Description

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!

Contributor guide

Open the contributing guide

Research direction

Start by examining the `sls offline start` command and compare it with the separately run `npm run dev` frontend command. The issue is complete when one command starts both the backend and the React/Vue frontend development environments for the S3sync and Cloudfront workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, react
Domain
cli, devtools, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.