# README
Backend Service
This is the backend service for the Arxiv Insanity application. Application is built using Golang and uses the Gin framework.
To deploy the application:
- First provision the GKE cluster using terraform by running the github actions here.
- Next run the github actions to deploy the application to GKE using terraform here.
For local setup, use dev containers:
- Install Dev containers extension in vscode
- Open the root folder using vscode, and select "Reopen code in container"
- Create a launch.json file with the below configuration (.vscode/launch.json)
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"host": "127.0.0.1",
"program": "${workspaceFolder}/src",
"env": {
"JWT_SECRET":"REPLACE_ME",
"OAUTH2_CLIENT_ID" : "REPLACE_ME",
"OAUTH2_SECRET" : "REPLACE_ME",
"MONGO_URL" : "REPLACE_ME"
},
"args": [],
"showLog": true
}
]
}