Skip to content

cameronlee101/Genki-Study-Tool

Repository files navigation

Genki Study Tool

Description

An online Japanese study tool that has many activities meant to help you memorize various vocabulary. Content follows and is organized according to the Genki Japanese textbooks.

View the website at https://genki-study-tool.vercel.app

Technologies

Built in Typescript utilizing the Next.js React framework. Study material is stored externally on a MongoDB Atlas database. Unit testing is done with Jest and E2E testing with Cypress.

Running Tests

Running Jest unit tests:

  1. Run npm run test in a terminal

Running Cypress E2E tests:

  1. In one terminal run npm run build, then npm run start.
  2. In a separate terminal, run npm run cy:open to start Cypress and run the E2E tests in your preferred browser. Alternatively, you can run npm run cy:run to run the E2E tests in the console.

Running Locally

  1. Clone responsitory

  2. Ensure npm or equivalent is installed on your system

  3. Open a command line and cd into: /genki-study-tool/

  4. Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
  1. Open http://localhost:3000 with your browser to see the result.