/ama-frontend

Frontend AMA

Primary LanguageTypeScript

Front-end AMA

React Vite TypeScript Tailwind

1. Introduction

1.1 Challenge Overview

This project aims to create a question room application.

  • React 19
  • WebSockets
  • API requests

And understand how to implement websockets with React.

2. Getting Started for Developers

To set up a local copy of this repository:

  • For SSH (recommended for secure, key-based authentication), use:

    git@github.com:fabiobatoni/ama-frontend.git
  • For HTTPS (simpler setup, ideal for quick trials), use:

    https://github.com/fabiobatoni/ama-frontend.git

2.1 Installation

Follow these steps to set up the ama-frontend environment on your local machine:

  1. Clone the Repository and Change Directory
cd ama-frontend
  1. Install Project Dependencies

In the project directory, run:

npm install

2.2 Local Development

Prerequisite

  • Before you begin, check the version of node by running the command node --version. According to "Minimum Runtime Requirements", TypeScript requires node version 18.17.1 or later.

To start the redux_player, follow these steps:

  1. Run the Application

Use the commands to run:

  • Development environment
npm run dev

1.2 Run backend Application

Install backend

git@github.com:fabiobatoni/go-react-server.git

Use the commands to run server:

go run .\wsrs\main.go
  1. Access the Application

Once the server is running, open your preferred web browser and navigate to: