For server file go to app/server folder and run following commands :
1.npm i
.
2.Go to http://localhost:8000/add
to insert data into database.
3.Close http://localhost:8000/add
.
4.Check http://localhost:8000/airports/:cityname
to get airports by cities.
5.Check https://localhost:8000/cities
for cities array.
For frontend go to app/client folder and run npm i
and then npm start
.
Select city to get the airports of corresponding city.