Videogames on RAWG
Reusing this project without forking
{ 'User-Agent': 'video-games-on-RAWG-react-app (GitHub)' }
) in your server implementation so it points to your app, not mine (it is not nice to introduce yourself as me when you are calling multiple APIs that are implemented in the code)
a React.Js app with Express backend
An experimental project with the RAWG api and Archive.org's search api.
Local run
Express backend: yarn
, yarn start
React.Js frontend: cd client
, yarn
& yarn start
Simplified API docs
GET
/api/trending - used on the home pageGET
/api/topRatedRecommended - used e.g. in the header components' bg imageGET
/api/videogame/{id} - the content of a specific gameGET
/api/videogameAutocomplete?q={query};?q=
(mandatory) - used in the search input component's autocompleteGET
/api/searchArchive?title={query}&year={query};?title=
(mandatory);?year=
(mandatory) - searches in Archive.org's collection if an older game has an online playable version on their servers.GET
/api/searchOldgameshelf?title={query};?title=
(mandatory) - searches in OldGameShelf.com's collection if a NES game has an online playable version on their page.GET
/api/searchSnesnow?title={query};?title=
(mandatory) - searches in SnesNow.com's collection if a SNES game has an online playable version on their page.
See in details: server.js.
License
MIT License
Copyright (c) 2019-present David Barton
Credits
Used data
Powered by RAWG.io video game data. Thank you guys!
Powered by Archive.org video game links. This app links some titles to the biggest web archive of the internet. Thanks Archive.org!
Powered by OldGameShelf.com video game links. This app links some titles to OldGameShelf.com which is a brilliant website to play all the retro games of the Nintendo NES system. Thanks OldGameShelf.com!
Powered by SnesNow.com video game links. This app links some titles to SnesNow.com which is a brilliant website to play all the retro games of the SNES system. Thanks SnesNow.com!
Used font
'Arcade Classic' is under copyright (c) Jakob Fischer at www.pizzadude.dk, all rights reserved.