This javascript application will make an API call to free to play game database and parse out options based on genre input from the user
- webpack
- npm
- html
- javascript
- jist
- API
A javascript program with bootsrap stled UI that gathers html form input to make an API call to free to play games API. With the fethced JSONified data, it filters the games by genres and uses math random to display five selcetions in the chosen genre displaying name and other information, as well as an image from the game and a link to a site where it can be played (free)
- _clone repo game-select from my github repository running
$ git clone https://github.com/ChrisRDavila/game-select
_ - create .env file and populate it with an API key from Free-tp-play-Database RAPID API in the following format
API_KEY=[YOUR-API-KEY]
- if you are wanting to create a repo, it would be most secure to then create a .gitignore file and add .env to it to ensure noone else getting your key before pushing anything to github
- run
$ npm install [email protected] --save-dev
to recognize the .env file in your application - Installing all packages with
$ npm install
. - Building the project using webpack with
$ npm run build
- Starting a development server with
$ npm run start
- Lint JS files in the src folder with
$ npm run lint
- Run tests with Jest using
$ npm run test
- -APi set up/use_
- Any known issues
- should go here