Skip to content

rumoursbehindme/play-peek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ PlayPeek

PlayPeek is a sleek, responsive web app that shows game details using the RAWG Video Games Database API.
Built with React + TypeScript + Bootstrap + Vite โ€” no backend needed.


๐Ÿš€ Features

  • Browse a list of popular games
  • View game name, release date, rating, and background image
  • Responsive layout using Bootstrap
  • Clean and type-safe React code with TypeScript
  • Environment-based API key for secure access

๐Ÿ“ฆ Tech Stack


๐Ÿ› ๏ธ Setup

1. Clone the repo

git clone https://github.com/rumoursbehindme/play-peek.git
cd play-peek

2. Install dependencies

yarn

3. Configure environment variables

Copy .env.example to .env:

cp .env.example .env

Then edit .env and set your RAWG API key:

VITE_RAWG_API_KEY=your_rawg_api_key_here

Get a free key from RAWG.io.

4. Start the dev server

yarn dev

5. Run tests

yarn test

For automated or CI environments, run the tests once without watch mode:

yarn test:ci

๐Ÿ“ Folder Structure

src/
โ”œโ”€โ”€ components/        # Reusable UI components (e.g., GameCard)
โ”œโ”€โ”€ pages/             # Page-level components (e.g., Home)
โ”œโ”€โ”€ services/          # API calls
โ”œโ”€โ”€ types/             # TypeScript types/interfaces
โ”œโ”€โ”€ App.tsx            # Root component
โ””โ”€โ”€ main.tsx           # Entry point

๐Ÿ“ท Screenshots

Home Page Home Game-Details-Modal Game-Details Game-Details


๐Ÿ“Œ License

MIT


๐Ÿค˜ Made with โค๏ธ by Rajeev Hegde

About

๐ŸŽฎ A modern and responsive game discovery web app built with React, TypeScript, and RAWG API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •