Skip to main content

Local Development Introduction

Once you have deployed the app and the UI, you can start developing locally on your computer. You will be running a local server that uses the same lambda functions code. To start local development, run the following commands to run a local server:

$ cd solution/backend
$ pnpx sls offline -s $STAGE
$ cd -

Then, in a separate terminal, run the following commands to start the ui server and open up a browser:

$ cd solution/ui
$ pnpx sls start-ui -s $STAGE
$ cd -