Skip to content

Progressive Web App game to practice tricky portuguese words and expressions

Notifications You must be signed in to change notification settings

marianapatcosta/bom-portugues

Repository files navigation

Bom Português is a simple and didactic Question & Answer game to practice tricky portuguese words and expressions. it also includes a list of unusual words, so the user can increase the portuguese vocabulary. It was developed using Next, TypeScript and Styled Components. This game can be played anytime and anywhere due to is offline capability, and inPortuguese and English.

This project displays content from Infopédia and Em Português Correto. The content was scrapped using cypress.

Group 738

Play it here.

Get Start

  • Add file src/content/all-questions.json with the following structure:
    [
      {
        "id": "string",
        "title": "string",
        "options": "string[]",
        "correctOption": "string",
        "answer": "string",
        "source": "string",
        "link": "string"
      }
    ]
  • Add file src/content/all-unusual-words.json with the following structure:
    [
      {
        "id": "string",
        "word": "string",
        "pronunciation": "string[]",
        "definition": "string",
        "sentence": "string",
        "source": "string",
        "link": "string"
      }
    ]

Available Scripts

yarn install

Installs all the dependencies required to run and develop this application.

yarn dev

Open http://localhost:3000 with your browser to see the result.

yarn build

Build a production-ready application.

yarn start

Runs the production build locally

yarn export

Converts Next project into a static website

yarn lint

Runs linter in the project