Code Monkey home page Code Monkey logo

oop-ca4's Introduction

OOP CA4

CircleCI Build Status

Old Repo - Bitbucket

New Repo - GitHub

Authors

Setup Instrcutions

Option 1 - FTS Hosted

  1. Download a Client-X.X_FTS.jar file from the releases pages.
  2. Run the client file using the following command
java -jar Client-X.X_FTS.jar

Option 2 - Self Hosted - Compiled JAR

  1. Download a Client and Server JAR file from the releases pages.
  2. Create a database in SQL and import oop_ca4_andrew_cameron.sql.
  3. In the same location as Server-X.X.jar add a config.json file with the following content
{
  "DATABASE_HOST" : "127.0.0.1",
  "DATABASE_USER" : "root",
  "DATABASE_PASS" : "",
  "DATABASE_NAME" : "oop_ca4_andrew_cameron"
}

and edit it to match your setup. 4. Run the server file using the following command

java -jar Server-X.X.jar
  1. Run the client file using the following command
java -jar Client-X.X_localhost.jar

Option 3 - Self Hosted - Source Code

  1. Clone the project and cd into the project folder
  2. Create a database in SQL and import oop_ca4_andrew_cameron.sql
  3. Rename config.json.sample to config.json and edit it to match your setup
  4. Run the following commands
gradle clientJar
gradle serverJar
  1. To start the server run the following command
java -jar build/libs/Server-0.5.jar
  1. To start the client, in a seperate terminal run the following command
java -jar build/libs/Client-0.5.jar

Project Description

This java application is a client-server application which will grant users access to a database of movies that they can interact with. Some of the functionality that the users can avail of is:

  • Register to the server

    • The client will be given a persistent ID for them to use with the database.
  • Add

    • Allows clients to add new movies to the database.
  • Remove

    • Allows clients to remove data from the database.
  • Update

    • Users can change certain info about the movies in the database.
  • Watch

    • Users will be able to track what movies in the database they have watched.
  • Recommend

    • Will recommend users movies that they should watch.

Fixes we were given

  • Aaron gave us the fix for the error Connection failed The server time zone value 'GMT Summer Time' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
SET @@global.time_zone = '+00:00';
SET @@session.time_zone = '+00:00';
  • James gave me the solution for ensuring a successful database insert and update

oop-ca4's People

Contributors

thelazyhatguy avatar andycarolan9 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.