nss-evening-cohort-11 / nutshell-droids-ewoks

PanAm Airline
0 stars 1 forks source link

Add crew members to a flight #87

Open Nikababy01 opened 4 years ago

Nikababy01 commented 4 years ago

User Story

As a user, I should be able to add crew members to a flight.

AC

WHEN looking at the flights "page"

THEN I should see all the flights

Dev Notes

  1. add event listener ('body').on(;click', '.crew-checkbox', flightController)
  2. create a event flightController make an axios call in the data file: addFlightCrew =(newFlightCrew) => axios.post ($(${baseUrl}/flights.json`, newFlightCrew);