Closed delindell closed 4 years ago
As a developer I need seed data for all my collections to test my app
WHEN the database collections are viewed THEN there should be 3 collections of data: users, plants, rooms AND these should be in correct .json language
[x] User Collection:
{ "user1": { "uid": "MYIdioaldEF22", "name": "Davis", "phone": 502245997, "email": "someone@gmail.com" } }
[x] Plant Collection:
{ "plant1": { "type": "Pothos", "nickname": "Richard", "imgUrl": "imgurr.com", "resource": "wikipedia.org/pothos", "health": "Healthy", "howOftenNeedsWatering": 5, "lastWatered": 06122020, "roomId": "room5", "uid": "PlANt23Ue" } }
{ "room1": { "name": "Office", "numOfWindows": 2, "sunDuration": 5, "sunDirection": "South", "sunIntensity": "Low", "uid": "Y3udWi93" } }
Add watering table collection
User Story
As a developer I need seed data for all my collections to test my app
AC
WHEN the database collections are viewed THEN there should be 3 collections of data: users, plants, rooms AND these should be in correct .json language
[x] User Collection:
[x] Plant Collection: