This is the backend service for our awesome project.
- Go (version 1.21 or later) installed.
- Access to the project on Firebase. Ask a teammate for an invite.
- Clone the repository:
git clone <your-repository-url>
- Navigate into the project directory:
cd hackbattle25-backend - Go to the Firebase console, generate your own private service account key, and save it somewhere safe on your computer. Do not commit this file.
- Install the project dependencies:
go mod tidy
Set the environment variable with the path to your key and run the main.go file.
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/serviceAccountKey.json" && go run main.goThe server will be running on http://localhost:8080. 🚀