Giter VIP home page Giter VIP logo

sal's Introduction

3005Project

Kyle Aitken COMP 3005 Project (Group 39) 101280013

This application simulates a Health & Fitness Club Management System that provides various functions for members, trainers, and administrative users.

Prerequisites

Ensure you have the following installed on your machine:

  • Java Development Kit 17 (JDK)
  • PostgreSQL (and PgAdmin or any other PostgreSQL GUI)
  • Node.js (which includes npm)
  • (Optional) React Developer Tools for Chrome/Firefox for debugging React applications

Clone the Repository

git clone https://github.com/kyleaitken/COMP3005Project.git

Install Dependencies

Backend Dependencies

The project uses Gradle to manage its dependencies. To install them, simply run:

./gradlew build

This command will download and install all the necessary dependencies defined in build.gradle.

Frontend Dependencies

With the terminal open, navigate from the root directory to:

cd src/main/frontend/client

Then, install the dependencies using npm:

npm install

This command reads the package.json file and installs all the required npm packages.

Database Setup

  1. Create a PostgreSQL database.
  2. Update the url, user, and password variables in the 3005Project/src/main/resources/application.properties file with your PostgreSQL credentials.
  3. Create the relations in your database by executing the DDL queries in the 3005Project/SQL/ddl.sql file.
  4. Add the trigger functions by executing the scripts in the 3005Project/SQL/triggerFunctions.sql file.
  5. Add data to the database by executing the DML queries in the 3005Project/SQL/dml.sql file.

Compiling and Running with Gradle

To compile and run the backend part of the project, navigate back to the root directory of the project and run:

./gradlew bootRun

This command compiles the Java code and starts the Spring Boot application.

Running the Frontend

With the backend running, open a new terminal window or tab and navigate to the frontend directory at 3005Project/src/main/frontend/client. Then, start the frontend application with:

npm run start

This command starts the React application, usually available at http://localhost:3000 by default.

Demonstration Video Link:

https://youtu.be/R3tTTdU8sXI

sal's People

Contributors

kyleaitken avatar

Watchers

 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.