/FOOTBALL_BETA_TRIVIA

SIMPLE PROJECT WITH MINIGAME :) TYPESCRIPT + REACT

Primary LanguageTypeScript

FOOTBALL BETA TRIVIA

FOOTBALL BETA TRIVIA is an interactive trivia game built with React and TypeScript for the frontend, and Node.js with Express.js for the backend. The project is tested using Jest and deployed using Docker, Heroku, and Netlify.

Table of Contents

Features

  • Interactive football trivia game
  • Real-time updates
  • Responsive design
  • User authentication and leaderboard
  • Dockerized for easy deployment

Installation

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm
  • Docker (for deployment)

Backend Setup

  1. Clone the repository:

    git clone https://github.com/b1lbudwebinho/FOOTBALL_BETA_TRIVIA.git
    cd FOOTBALL_BETA_TRIVIA/servergame
  2. Install dependencies:

    npm install
  3. Start the server:

    node servr.js
    node proxySrv.js
    # Or use concurrent
    npm start

Frontend Setup

  1. Navigate to the frontend directory:

    cd ../frontgame
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm start

Usage

To access the application locally, open your browser and go to http://localhost:3000.

The application can also be accessed online at FOOTBALL BETA TRIVIA.

Testing

To run tests for this project, navigate to the root directory and run:

npm test