Hot-reload server for InventoryBackend
Currently all three backends are only available as "production" servers - meaning that you need to run a build script that copies all of the backend code into a Docker image running NGINX. Then you need to start up that Docker image to be able to test your code. You need to repeat the build/run sequence every time you make a change which is somewhat slow.
We should have the option to run backends in "development" mode. Meaning that you can run a local server in your development environment that will watch the src directory and any time the code changes it will reload it and restart the server. That way you can quickly see and test your changes.
One way to do this is with nodemon
. There may be other tools that could be used.
We would need a set of scripts (similar to the ones for the frontend development server in GuestInfoFrontend). We would also have to determine how this will start up the MongoDB and RabbitMQ when running the development server.