This is the backend for Business Quant's backend intern assignment. It's written Golang using the Fiber web framework and GORM for database operations
- Clone the repository
git clone https://github.com/woaitsAryan/business-quant-backend && cd business-quant-backend
- Install the dependencies
go mod download
- Start the MySql db using Docker
docker run --name business-quant-db -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=business_quant -p 3306:3306 -d mysql:latest
-
Populate .env
-
Run the server
go run main.go