# README
scv-go-framework
Base framework for creating REST APIs in Go.
Included packages:
- INFRASTRUCTURE: provides MongoDB connection function and Repository Pattern with CRUD operations using the official mongo--driver.
- API/UTILS: provides JSON success/error responses and Middlewares for error handling and JWT token-based authorization.
Usage steps:
- Create an empty repository and clone it.
- Execute:
go mod init github.com/{username}/{repository_name}
go env -w GOPRIVATE=github.com/scanet9
go get github.com/scanet9/scv-go-framework
- As this repository is private, it is needed to create an access token here. Give it repo and read:packages permissions.