Skip to content

vakila/search-retro-games

Repository files navigation

Search Retro Games

An app powered by Next 13, Xata, and games data collected by Sara Vieira

Developed by Anjana Vakil with support from Xata

Features

  • Full-text search through a database of 7K+ games
  • Filter search results by console (NES, Game Boy, Playstation, etc.)
  • Top-rated games appear first in results
  • Aggregate total number of games
  • Debounced search input & timed search operation
  • Game details pages with additional info and links to IGDB

Implementation details

  • Uses the brand-new (at time of development) app/ directory of Next 13
  • Makes use of both client components (interactive search page) & server components (static game page)
  • Retrieves data from Xata's serverless data platform
  • Powered by Xata's built-in search functionality, including filtering & boosting
  • Uses an internal API to retrieve data without exposing secrets to client

See also


create-next-app

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

An app to search retro games data built with Xata and Next 13

Resources

Stars

Watchers

Forks