GaloServer is the backend component for GaloJs, providing a robust and scalable REST API. Developed with Spring Boot and JPA, it serves as the core for game state management and player interactions. The server utilizes Gradle for its build system and includes Docker integration for easy deployment and scaling.
- REST API for game state management and player interactions.
- Developed with Spring Boot for simplicity and speed.
- JPA integration for database operations.
- Docker support for easy deployment and scalability.
- Gradle build system for efficient project management.
Before setting up GaloServer, ensure you have the following installed:
- Java JDK 17 or newer
- Docker
- Gradle
To set up your development environment for GaloServer, follow these steps:
- Clone the server repository to your local machine.
- Ensure Docker is running on your system.
- Use Gradle to manage dependencies and build tasks.
GaloServer includes several Gradle tasks for building and running the server within Docker:
- buildDockerImage: Builds the Docker image for the server.
gradle buildDockerImage
- generateCompose: Generates a
docker-compose.yml
file with the current software version defined in gradle.gradle generateCompose
- runWithDocker: Runs both
buildDockerImage
andgenerateCompose
tasks, then starts the server usingdocker-compose
.gradle runWithDocker
The server uses JPA for database interactions. Currently, the database is configured not to persist data, suitable for development and testing environments. For production environments, you may want to modify the database configuration to ensure data persistence.
GaloJs Server is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later). See the LICENSE file for the full license text.
Thank you for your interest in the GaloJs Server! Your contributions and feedback are greatly appreciated.