Being very much into biotopes, and even loosely simulated balancing, this is my thing.
To me the term ecosystem would be a system, where one would also want at least 10 times as many plants, as fish.
So for your 50 gal African shell dweller tank, attaching a 100 gallon sump with enough terrestrial and aquatic plants to consume nitrate, and maybe a small population of self sustaining shrimp or other invertebrate,in the sump, to help break down melting plant matter.
I attempt to partially do this, with my Panamanian biotope tank.
A 180 gal main tank (also with plenty of vegetation), connected to a 125 gal heavy planted sump.

In the sump above aquatic plants like Vallisneria, floaters like Salvinia, the terrestrial, and semi terrestrials like mangrove trees, use a portion of the nitrates, and other deleterious waste material, (although I still need to do regular large water changes to keep nitrate at natural levels)
Where I live natural nitrate levels in unpolluted streams are undetectable, a grab sample in the Rio Pacora below.

The main tank contains about a dozen fish, probably a bit over a proper balance population density.
To maintain my <5ppm nitrate i still try to do at least a 100% water change per week (more when possible)
I realize in an African shell dweller tank, plants are not part of the normal biotope, and why I would suggest a separate , but attached, planted sump.
