Skip to content

A simple Trivia game using React modular architecture.

Notifications You must be signed in to change notification settings

piassi/modular-trivia-game

Repository files navigation

Trivia Game

This is a simple trivia game built using a modular architecure.

The diagram bellow give an overview of the project:

Application Diagram

The idea is to have independent modules, that contains everything to work, inside one folder.

Each module exports a registration object through index.tsx file, and the application load those modules on modules.ts.

When needed a module can export APIs to be used by other modules through the shared.tsx, this makes dependency between modules explicit and the teams are aware of the risks of an API change.

Usage

The application was bootstraped using Create React App, so every CRA command is still valid.

Start

yarn start

Test

yarn test

Build

yarn build

About

A simple Trivia game using React modular architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published