Skip to content

feature/spa-integration#73

Merged
jvspeed74 merged 8 commits intomainfrom
feature/spa-integration
Feb 16, 2026
Merged

feature/spa-integration#73
jvspeed74 merged 8 commits intomainfrom
feature/spa-integration

Conversation

@jvspeed74
Copy link
Copy Markdown
Owner

@jvspeed74 jvspeed74 commented Feb 16, 2026

This pull request introduces significant improvements to the application's frontend and backend structure to support a Single Page Application (SPA) experience with dedicated API endpoints and enhanced styling. The main changes include the addition of new SPA page routes, separation of API endpoints under a common namespace, new frontend pages for cars, and the introduction of global and specialized CSS for consistent and modern UI styling. There are also updates to project configuration and development environment files.

Backend/API Structure Improvements:

  • Added dedicated SPA page routes in config/routes.php to serve HTML pages for main, teams, drivers, tracks, events, and cars, each rendering a PHP file with embedded JavaScript.
  • Namespaced all API endpoints under /api (e.g., /api/teams, /api/events, etc.) to clearly separate JSON API routes from SPA routes, reducing the risk of route collisions and improving maintainability. [1] [2]
  • Updated the Postman test runner in the CI workflow to use the new /api base path.

Frontend Enhancements:

  • Added a new public/carsPage.php SPA page with JavaScript for fetching, searching, and paginating car data from the API, and navigation links to all main sections.
  • Introduced public/css/global.css for unified, modern styling across all SPA pages, including layout, navigation, cards, search, and pagination components.
  • Added public/css/f1.css for specialized styling of track and driver lists, responsive layouts, and hero sections.

Development Environment & Project Configuration:

  • Added a .gitattributes file to enforce LF line endings for text files and mark binary files, improving cross-platform consistency.
  • Updated .idea/.gitignore to exclude IDE-specific files and folders, keeping the repository clean.
  • Updated project module configuration to recognize spec and tests as test source folders.
  • Removed project-specific code style configuration files from version control. [1] [2]

jvspeed74 and others added 8 commits February 15, 2026 19:01
Signed-off-by: jvspeed74 <javaugh@iu.edu>
…le handling

Signed-off-by: jvspeed74 <javaugh@iu.edu>
…le handling

Signed-off-by: jvspeed74 <javaugh@iu.edu>
# Conflicts:
#	config/routes.php
#	public/carsPage.php
#	public/css/f1.css
#	public/driversPage.php
#	public/eventsPage.php
#	public/mainPage.php
#	public/teamsPage.php
#	public/tracksPage.php
@jvspeed74 jvspeed74 force-pushed the feature/spa-integration branch from 6ebe49b to fdf4a92 Compare February 16, 2026 00:51
@jvspeed74 jvspeed74 merged commit a9ff0eb into main Feb 16, 2026
2 checks passed
@jvspeed74 jvspeed74 deleted the feature/spa-integration branch May 5, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants