This project is a FIFA Ticket WebScraper designed to monitor the status of tickets and notify users via email when tickets go on sale or when there are updates regarding ticket availability. The project consists of a frontend built with Vue.js for a friendly graphical user interface (GUI), a backend written in Go, and a PostgreSQL database. The communication between the frontend and backend is established using CORS, and the backend utilizes the Fiber framework.
- Friendly GUI: The frontend provides a user-friendly interface for users to enter their email and submit it for ticket notifications.
- CORS: Cross-Origin Resource Sharing (CORS) is implemented to allow communication between the frontend and backend, even if they are hosted on different domains.
- PostgreSQL: The database management system used for storing user email addresses and other relevant data.
- Fiber: A web framework written in Go, Fiber is used for building the backend server and handling HTTP requests efficiently.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install dependencies for both frontend and backend.
- Start the backend server.
- Start the frontend server.
- Access the frontend in your web browser.
- Navigate to the
backend
directory. - Run
go mod tidy
to install dependencies. - Configure the
.env
file with your PostgreSQL database credentials. - Run
go run main.go
to start the backend server.
- Navigate to the
frontend
directory. - Run
npm install
to install dependencies. - Run
npm run serve
to start the frontend server.
Ensure that you have PostgreSQL installed and running on your system. Configure the .env
file in the backend directory with the necessary database credentials.
Contributions are welcome! Feel free to submit issues or pull requests to improve the project.