Skip to content

iColgateZz/chess-website

Repository files navigation

Introduction

The idea is to make a website, where people could play chess both anonymously and as logged-in users. It should support multiple time formats and an option to analize the game after its end.

Project requirements

Requirements

For development mode:

  1. Docker
  2. Java version 21
  3. Node.js version 20.8.1

For production mode:

  1. Docker

Running the Project Locally

You have two options to run the project: development mode or production mode.

Option 1: Development Mode

For local development, follow these steps:

  1. Add a .env file Make a .env file, example is in .env.example.

  2. Start database
    Run docker-compose up -d db in the root directory to spin up the database.

  3. Start the Backend
    Launch the WebprojectApplication.java file located in src/main/java/ee/taltech/webproject/.

  4. Start the Frontend
    Navigate to the src/frontend directory and run the following commands:

    npm install
    npm run dev
  5. Access the Application Open your browser and go to http://localhost:5173.

Option 2: Production Mode

  1. Add a .env file Make a .env file, example is in .env.example.
  2. Start Docker
    Run docker-compose up -d in the root directory.

The same project is running on http://chesspage.myftp.org.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors