Skip to content

A multiplayer table game, now online 🎲

Notifications You must be signed in to change notification settings

andrsdt/no-time-for-heroes

Repository files navigation

Contributors Forks Stargazers Issues LinkedIn


Logo

No Time for Heroes

The board game, now online!

Report Bug Β· Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact

About The Project

Gameplay showcase

No Time for Heroes is a card game in which each participant takes the role of an archetypal hero with the goal of being the one who gets the most points by eliminating orcs. The project arises as a way to learn and practice the technologies used in the development of a web application, being the main project of the subject "Design and Testing I" of the Software Engineering degree at the University of Seville.

The project is divided into two parts, the server and the client. The server is a REST API developed in Java with Spring Boot, which is responsible for managing the game logic and the database. The client is a web application developed in React.js, which is responsible for the user interface and the communication with the server.

The development has been carried out in an agile way, using the Scrum methodology. It has been developed in a team of 5 people, with the roles of Product Owner, Scrum Master and 3 developers.

(back to top)

Built With

Server

  • Java
  • Spring Boot
  • JUnit
  • Maven
  • MySQL
  • Hibernate

Client

  • HTML
  • TailwindCSS
  • Node.js
  • React

Other tools

  • Git
  • GitHub
  • GitHub Actions
  • Visual Studio Code
  • Postman

(back to top)

Getting Started

As this application is split in two services (spring-boot for backend and database and react for frontend), we need to initialize both services individually.

Server

From the source folder, navigate to the spring-boot directory:

cd ./spring-boot/

Now we execute the service with the appropiate maven command:

mvn spring-boot:run

From here on out, the spring-boot proyect will be located at localhost:8080, with the console at localhost:8080/h2-console. To access the console follow this image: console-tutorial

Client

Now, for the client. Similar to spring-boot, we navigate to the /react directory:

cd ./react/

Now we execute the service with the appropiate nodejs command:

npm run build

After that, we will se a message like this one:

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Following these steps, we will see the last message, telling us that everything was OK:

   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚                                                  β”‚
   β”‚   Serving!                                       β”‚
   β”‚                                                  β”‚
   β”‚   - Local:            http://localhost:3000      β”‚
   β”‚   - On Your Network:  http://192.168.1.48:3000   β”‚
   β”‚                                                  β”‚
   β”‚   Copied local address to clipboard!             β”‚
   β”‚                                                  β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The application is now ready to run. Enjoy!

(back to top)

Contact

AndrΓ©s DurΓ‘n - @andresdt - [email protected]

Project Link: https://github.com/andrsdt/no-time-for-heroes

(back to top)

About

A multiplayer table game, now online 🎲

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages