This is a Next.js project bootstrapped with create-next-app
.
First, clone the repo and install all dependencies:
npm install
# or
yarn install
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
See the demo at http://wordle.ronakvyas.com
I made this fun project to learn React. I have used useReducer for keypress action and useEffect hook for fetching new word and validating the current word in dictionary through an API. I also used Chakra UI for React Components
Special thanks to https://github.com/awsare/Wordle-API for providing public api for this.
If this API doesn't work, I will update it with something else. Raise an issue if you find it not working and I will be happy to fix it.