The time has come to use the generators. We will follow the same flow as the previous chapter. We will develop the create travel section first and then the listing, followed by the search and finally the reservation.
iron g:scaffold createTravel command and you will see the following files created and updated:
created app/lib/collections/create_travel.js created app/client/templates/create_travel created app/client/templates/create_travel/create_travel.html created app/client/templates/create_travel/create_travel.js created app/client/templates/create_travel/create_travel.css created app/lib/controllers/create_travel_controller.js updated ../BookMyTravel2/app/lib/routes.js updated ../BookMyTravel2/app/server/publish.js ...