Kimkorng
Khmer Dictionary App

Khmer Dictionary App

nextjs
wiktionary
api

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

  1. Clone the repository:

    bash
    git clone https://github.com/kimkorngmao/khmer-dictionary-app.git cd khmer-dictionary-app
  2. Install dependencies:

    bash
    npm install
  3. Run the development server:

    bash
    npm 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.
Preview
khmer-dictionary-app Image preview 1khmer-dictionary-app Image preview 2khmer-dictionary-app Image preview 3