This project is designed for a JavaScript workshop to introduce college students to a working JS application.
Install Node 8
- Directions: go to https://nodejs.org/en/download/ and click on the Windows or MacOS Installer, and then follow the directions
Install Git
- The link is here https://git-scm.com/downloads and the same directions apply: click on the appropriate OS.
This project was bootstrapped with Create React App. This is super cool and easy to use - check out their repo to start your own app!
This project uses the Skyscanner API. You will need a free API key.
Once you have an API key, you can play around with RapidAPI to test getting different results from Skyscanner.
There are a few options for accessing this code so that you can use it. We'll start with the least difficult option.
- Download the zip file
- At https://github.com/DanielJRutledge/serverless-demo look to the right for a button called "Download Zip".
- Click this button, and save to a convenient location on your computer.
- Mac: click on the downloaded zip to install.
- Windows: right-click and WinZip to install.
- Command Line + Git
- If you have some knowledge of Command Line and have Git installed, you can follow these steps:
- cd to a desired folder
- git clone https://github.com/DanielJRutledge/serverless-demo.git
Once you have cloned the repo, you'll need to do a few things.
In the command line, navigate to the new serverless-demo directory.
- run
npm install
- after npm install is complete, then run
npm start
- you should be able to access the app in the browser at http://localhost:3000/
This app uses Material-UI. See if you can update the color scheme to dark mode (hint!).
Try adding a new dropdown with a list of cities. When the user selects a city, a new list of results displays.