# Shenobis Games

React Router storefront for Shenobis Games, with Apollo GraphQL integration for catalog, account, cart, and checkout flows.

## Requirements

- Node.js 20+
- npm 10+

## Environment

Create a local `.env` file from `.env.example` and set:

- `VITE_MAGENTO_GRAPHQL_URL`: Magento GraphQL endpoint for the current environment.
- `VITE_RECAPTCHA_SITE_KEY`: Google reCAPTCHA v3 site key used on registration flows.

## Scripts

```bash
npm install
npm run dev
npm run typecheck
npm run build
npm run check
```

## Notes

- Production builds now fail fast if `VITE_MAGENTO_GRAPHQL_URL` is missing.
- reCAPTCHA is enabled only when `VITE_RECAPTCHA_SITE_KEY` is configured.
- Keep deployment-specific files such as local env files and runtime logs out of version control.
