Wednesday, 9 October 2019

Looking for guidance for setting up my app for production

At the momentI've got a single page application, running with a REST API in Express on the backend, which I'm running through an npm script pointing to node. On the front end, I'm using React and building everything using Webpack. While developing my app, I've been using webpack-dev-server on a different port.What I'm trying to doI've got a Raspberry Pi 3 and I'm still using node to run my backend, but I'm considering whether I need to switch to something like Apache or Nginx? I'm using http-server-spa, again from npm, for a simple server in my client directory. My target is to set up HTTPS with an SSL certificate from Certbot and I've tried to generate a standalone certificate but it didn't work (I don't think the challenges could reach the server).I should also mention that I'm using screen on Linux to run each server separately and leave them running when I disconnect SSH.

Submitted October 09, 2019 at 08:07PM by gh102003

No comments:

Post a Comment