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

0 stars 1 forks source link

Sectors: Seed Data #21

Closed mariabrock closed 4 years ago

mariabrock commented 4 years ago

User Story

When I look at the code I will see a josn of sectorsData.json and the keys with needed information.

AC

WHEN I look at the code THEN I will seed a sectorData.json AND the keys with the appropriate data

Dev Notes

  1. Creating .json data
    • create a sectors.json seed data in the db folder of your project
    • create 10 sectors following this format:

{ "sector1": { "id": "", "sectorImg": "", "name": "", "isAlly": "", "size": "", "info": "", }, }

*import this data into firebase

  1. Input Data
    • make sure to assign each sector and Id, this id will be the region in which the sector is located( ex: Deep Core or Outer Rim )

EXTRA:

mariabrock commented 4 years ago

Source: https://starwars.fandom.com/wiki/Category:Sectors_by_region http://www.swgalaxymap.com/

mariabrock commented 4 years ago

sectors wireframe