- Go 1.16 or later
- PostgreSQL 12 or later
- Docker (optional, for containerized deployment)
- Clone the repository:
git clone https://github.com/cyse7125-su24-team04/webapp-cve-processor.git
cd webapp-cve-processor
- Build the application:
go build -o cve-processor.exe main.go
-
Ensure PostgreSQL is running and accessible.
-
Create a .env file varibales for database connection:
DB_HOST="localhost" DB_PORT="5432" DB_USER="yourusername" DB_PASSWORD="yourpassword" DB_NAME="cve"
-
Run the application:
go run main.go
-
Build and Run the application:
go build -o cve-processor.exe main.go ./cve-processor.exe