Tests with jest and mongodb
Includes much more code, other than the actual implementation, creating the extra mocks. It's clear in the complete example that mocks are more lines of code than the actual UserService.
Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).
The final method tries to combine both methods, 1 and 2. It uses an external package MongoDB In-Memory Server for our MongoDB.
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Define and run multi-container applications with Docker
Here comes Docker and Docker Compose. I am not going to spend much time explaining Docker, but if you want I can write a separate blog about it.
Building a dockerized ETL pipeline for streaming positive tweets
2 projects | dev.to | 4 Feb 2022
From Data Preprocessing to Using Graph Database
4 projects | reddit.com/r/graphdata | 19 Sep 2022
FastWay: How To Install Docker and Docker Compose on Linux
1 project | dev.to | 14 Sep 2022
Docker Compose v2 still has no CLI completion 140 days after reaching GA
1 project | news.ycombinator.com | 13 Sep 2022
Do I need Kubernetes?
2 projects | reddit.com/r/selfhosted | 3 Sep 2022