An app powered by Next 13, Xata, and games data collected by Sara Vieira
Developed by Anjana Vakil with support from Xata
- 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
- 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
- Sara Vieira's letsplayretro.games
- Written tutorial: Searching for retro games with Xata & Next.js 13
- Livestream on twitch.tv/anjanavakil
This is a Next.js project bootstrapped with create-next-app
.
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.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
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.