Wired to firebase DB to store posts