Skip to content

Javascript using node.js environment to make and parse and API call

License

Notifications You must be signed in to change notification settings

ChrisRDavila/game-select

Repository files navigation

Game Select

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

By Christopher Davila and Joseph Wilfong

Technologies Used

  • webpack
  • npm
  • html
  • javascript
  • jist
  • API

Description

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)

Setup/Installation Requirements

  • _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_

Known Bugs

  • Any known issues
  • should go here

License

About

Javascript using node.js environment to make and parse and API call

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published