java booking tool
HTML JavaScript CSS Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
booking-tool-app
booking-tool-client
booking-tool-server
booking-tool-styleguide
.gitignore
README.md
pom.xml

README.md

MAS Booking Tool

This repo contains 3 different applications. All written in JAVA.

  1. Server Application with RESTful Service
  2. Desktop Application to connect to Server
  3. Android Applications to connect to Server

Server Application

Import complete Project into your IDE like IntelliJ and start the Web Application with Tomcat. Server will be availalbe on url http://localhost:8080

Desktop Application

You can Run the application from IDE or download the pre-build Application for Mac or Windows if the server is up and running.

Download

Start Server and go to: http://localhost:8080

On a Mac, you have to grant access.

Run from IDE

Import complete Project into your IDE like IntelliJ and run MainApp.java

booking-tool-client/src/main/java/ch/zhaw/bookingtool/MainApp.java

Once the App is running, choose localhost to connect with the Server.

Android Application

Import complete Project into Android Studio and Run the application on a Android Mobile Phone.

How to connect

  1. Go to Server list and add at least 1 Server. If running in a Emulator, you have to use http://10.0.2.2:8080 to access the Server.
  2. Go back to the login, choose your server and Login
  3. With Logout you can go back to the login screen
  4. If server is not available, an alert should appear