This is a Khmer dictionary web application built with Next.js, and using the Wiktionary API for fetching word definitions.
Features
- Home Page:
- A search bar for users to input Khmer words they want to look up.
- Definition Page:
- Displays the definitions fetched from the Wiktionary API for the entered Khmer word.
Technologies
- Next.js: Framework for server-rendered React applications.
- Wiktionary API: Used to fetch Khmer word definitions.
- Tailwind: CSS framework for styling.
Setup Instructions
-
Clone the repository:
bashgit clone https://github.com/kimkorngmao/khmer-dictionary-app.git cd khmer-dictionary-app
-
Install dependencies:
bashnpm install
-
Run the development server:
bashnpm run dev
Open http://localhost:3000 to view it in the browser.
Usage
- Enter a Khmer word into the search bar on the home page.
- Click submit to navigate to the definition page and view the fetched definitions.