Skip to content

When launched, this program will host a server that is accessible via http://localhost:8080. It allows you to see the course sequence of all courses within a subject at TTU.

Notifications You must be signed in to change notification settings

KChavez04/CoursePR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

When launched, this program will load a web app that is accessible via localhost. It allows you to see the course sequence of all courses within a subject at TTU. This file contains information about how to clone, compile, and run the code. It also lists the file structure as well as the list of dependencies.

Back story

This program works by using Jsoup to web scrape the data. Then, it parses the data and organizes it into an array list. The data is organized by major, where it is in the course sequence, and a few other things. The visual aspect was written by my professor.

We went through an agile development cycle to make this. This included the following steps.

  1. User stories
  2. UML diagrams
  3. Multiple build iterations which included: Jsoup for web scraping, JUnit for testing
  4. Optimization: Whenever you previously loaded a course sequence, it would save like a cookie. This allowed the next load of that course sequence to be quicker.

How to clone the code from the repository

  • Place the following command in the command prompt (cmd).
git clone https://github.com/KChavez04/CoursePR.git

How to compile the program

  • Place the following command in the command prompt (cmd).
./mvnw compile
  • Alternatively, within IntelliJ, click the hammer button on the upper, right-hand section.
    • Configuration: CourseTest or CourseCatalogTest

How to run the program

  • Place the following command in the command prompt (cmd).
./mvnw spring-boot:run
  • This will launch Spring Boot to host local host.
  • Next, launch local host by opening a web browser and typing the following website.
http://localhost:8080

The structure of the directories in the source

  • Coding Files
    • The package is edu.tntech.csc2310
    • Starting from source, the directory is src\main\java\edu\tntech\csc2310
  • Test Files
    • The package is edu.tntech.csc2310
    • Starting from source, the directory is src\test\java\edu\tntech\csc2310

List of dependencies

Credit

A special thanks to Jerry Gannod for writing the following files.

  • Classes:
    • CoursePR.java
    • CoursePRCourse.java
    • CoursePRCourseService.java
    • CoursePRPrereqService.java
  • Tests:
    • CourseTest (except where otherwise noted)
    • CourseCatalogTest (except where otherwise noted)
    • CoursePrApplicationTest

About

When launched, this program will host a server that is accessible via http://localhost:8080. It allows you to see the course sequence of all courses within a subject at TTU.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published