Running App with pubsweet server seperate backend - frontend

Currently i run pubsweet app by running pubsweet server to start backend and frontend app. Is there a way to separate back-end and front-end into two different services ?

Yes, there is! If you’re using the latest PubSweet CLI (this was added in pubsweet 5.1.0 (https://gitlab.coko.foundation/pubsweet/pubsweet/blob/master/packages/cli/CHANGELOG.md#510-2019-08-30) you can use:

pubsweet start:client

and

pubsweet start:server

Check out https://gitlab.coko.foundation/simplej/simplej/blob/master/package.json#L133-134 for how it’s done in a project’s package.json scripts.