codeforsanjose/disaster-response-sj

Setting up Local Database with Test Posts

Opened this issue · 0 comments

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.