Skip to content

arsnazarenko/Client-server-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client-Server application for collection management

Used technologies:

  • JDK 11
  • Maven
  • PostgreSQL
  • Swing GUI Framework
  • Docker, Docker compose
  1. Build:
./build-app.sh
cd build
  1. Run
  • Configuration

server.properties file:

server.host=${SERVER_HOST}
server.port=${SERVER_PORT}
database.host=${POSTGRES_HOST}
database.port=${POSTGRES_PORT}
database.name=${POSTGRES_DB}
database.username=${POSTGRES_USERNAME}
database.password=${POSTGRES_PASSWORD}

Server options can be set using environment variables or .env file. File server.properties must be in the same directory as server.jar

  • Server
java -jar server.jar
  • Client
java -jar client.jar [SERVER_HOST] [SERVER_PORT] [gui/cli]
  • PostgreSQL in docker container for Server-side of app
docker compose up --detach

Don't forget to stop the docker container

Examples

Registration window

New Object creation window

Objects map window

Command line interface

Releases

No releases published

Packages

No packages published