MurmurationsNetwork / MurmurationsServices

Index, Library and other microservices that implement the Murmurations protocol
https://docs.murmurations.network/developers/index-api.html
GNU General Public License v3.0
7 stars 3 forks source link

Create a local instance of mongodb for Map/Tools in local dev #786

Open geoffturk opened 1 month ago

geoffturk commented 1 month ago

Currently the Map and Tools frontend code is linked to the test instance of frontend-mongodb. This means that local dev testing can result in entries being created in the test frontend-mongodb and test-index, which is not ideal.

The aim is to spin up a local instance of mongodb that can be used for frontend code testing in development, and that is coordinated with the local dev version of the index, library, etc. Thus when a local dev instance of Services is instantiated, the local instance of frontend-mongodb will be instantiated with it and all local testing of Map and Tools will write to the local frontend-mongodb and the local index, and it will fetch schemas from the local library.