This project is a NASCAR-themed website developed for my 2019 'Professional Webmaster' university course. It features a dynamic homepage with news and comments, a race calendar for the year, championship standings, team information categorized by manufacturer, and user authentication with log-in and registration functionalities.
- Displays the latest news articles.
- Users can comment on news articles.
- Provides a year-long calendar of all NASCAR races.
- Shows the current standings in the championship.
- Lists teams grouped by manufacturer.
- Provides detailed information about each team.
- Users can change their profile picture and manage their passwords.
- Allows users to register and log in to the website.
- Manages user sessions and restricts access to certain features.
- Frontend: HTML, CSS, JavaScript, jQuery
- Backend: PHP
- Database: MySQL
- Containerization: Docker
- Docker and Docker Compose
-
Clone the repository:
git clone https://github.com/MatiasCarabella/NASCAR-website.git cd NASCAR-website
-
Build and start the Docker containers:
docker-compose up --build
The
init.sql
script will be automatically executed to create the necessary tables and insert initial data. -
Access the website on http://localhost:8080.
/NASCAR-website
│
├── Dockerfile
├── init.sql
├── docker-compose.yml
├── inc/
│ ├── navbar.php
│ └── footer.php
├── index.php
├── article.php
├── schedule.php
├── standings.php
├── teams.php
├── profile.php
├── log-in.php
├── register.php
├── css/
│ ├── normalize.css
│ └── styles.php
├── js/
│ └── ... (js scripts)
├── utils/
│ └── ... (php scripts)
├── img/
│ └── ... (image files)
└── video/
└── ... (video files)
- Homepage: View and comment on the latest NASCAR news.
- Race Calendar: Check the schedule for upcoming races.
- Championship Standings: See the current standings.
- Teams: Explore information about the different teams grouped by manufacturers.
- My Profile: Upload your own profile picture, change your password or log out.
- Log In/Register: Create an account or log in to access personalized features.
This project is licensed under the MIT License.
- University Course Instructor and Teaching Assistants
- NASCAR for providing inspiration and data for the project
- Open source libraries and tools used in this project