nss-evening-cohort-10 / nutshell-star-destroyer

0 stars 1 forks source link

Weapons: Seed Data #26

Closed jthielman closed 4 years ago

jthielman commented 4 years ago

User story

As a developer, I need some seed data to work with so that as I write functions, I can tell that the right stuff is happening.

AC

When I open the firebase console Then I should find weapons data with a structure corresponding to the ERD. And that data should have come from a data file in the directory so I can reseed when necessary.

Dev Notes

Put data files into ./db. Call it weapons.json. Here's a sample object:

{
  "weapon1": {
    "name": "XX-9 heavy turbolaser",
    "isActive": true,
    "type": "ship-mounted"
  },
}
mariabrock commented 4 years ago

weapons wireframe

mariabrock commented 4 years ago

weapons-card-before-click

mariabrock commented 4 years ago

weapons-card-after-click