These clarifications and wireframes are meant to be a supplement to Mongoose Flights Lab, Part 1.
First, you're to create a Flight schema with the following fields/properties:
airline
airport
flightNo
departs
AAU, I want to view a list of all flights (index view) that displays each flight's airline, airport, flight no., and departure date/time.
Using all the information from each flight, list them on the flights/index.ejs
page like this:
AAU, I want to create flights by entering the information on a page (new view) that has a form and submitting it.
The form that you're creating should only include the fields you defined in the schema like this:
AAU, I want to be able to access each view via a navigation bar at the top of the page with links to:
ALL FLIGHTS
ADD FLIGHT
Refer to the wireframes above. The styling in these wireframes was taken from the Mongoose Movies lessons, so the feel free to style your app as you please!