I’m trying to get my head around a the development workflow for working with microservices and docker multicontainer applications.
The thing that I’m particularly trying to solve – is getting a good ‘live reload’ workflow going for development.
For my frontend I can use webpack-dev-server which automatically reloads the page everytime I save changes. This makes it easy to write front end code quickly – with no waiting for deployments.
However – if the frontend is displaying some data retrieved from a REST API, I’m likely going to be running either a development version of that API (that itself is live reloading with nodemon, or similar) or a mocked API. This is easy enough to achieve with webpack using the proxy configurations for development environment.
For my REST API – I similarly might want to be mocking other microservices. For example if my REST API had a POST endpoint for saving an image – and I’m going to save that to an AWS S3 bucket, via the aws-sdk, I’m likely to want to be mocking that functionality.
Essentially – what it looks like – is that for every (or most) microservices – I’m also going to want to create a mock version of it.
My question is:
- Is this a standard way of doing things, or am I going way off base?
- Is there a way in docker to quickly switch between whether I’m using the real microservice or the mocked one?
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!