Currently, when initializing the mongo database (in ./backend/libl/db ), we are always using a production URL. Instead, if the environmental variable is not set to PRODUCTION, we can setup a local database that is populated with sample posts that are available in the repo.
Currently, when initializing the mongo database (in ./backend/libl/db ), we are always using a production URL. Instead, if the environmental variable is not set to PRODUCTION, we can setup a local database that is populated with sample posts that are available in the repo.