This is a Next.js project bootstrapped with create-next-app
.
To run locally:
Create a .env
file in the root of the project with your API access token (this can be obtained at https://the-one-api.dev/account)
LOTR_ACCESS_TOKEN=<paste your api token here>
npm run dev
# or
yarn dev
# or
pnpm dev
To test...
- Open http://localhost:3000 with your browser
- Click "Play" to start the game
- Fill in the text input guesses for both character and movie
- Click "Submit"
- Currently will not build on production due to a Next.js bug
- Special characters are not fuzzy matched by the API, and do not show up in the search unless typed exactly (e.g.
Éowyn
vsEowyn
)