Carriers
Collection of schemas, models, and services for Managing Freight Carriers
Workspaces
Running Locally
- Install all dependencies
go get && go build
- Install Docker
- Start mongodb and mongodb-express
docker compose up -d mongo mongo-express
- Start your local application
go run ./main.go
Testing
Golang Terminal
run using go test
Golang coverage
Run the below commands from the package you want to validate code coverage
go test -v -coverprofile cover.out .
// where the ending "." can also be replaced from ./api, ./db
go tool cover -html=cover.out
TODO
- Basic CRUD Operations for Carriers
- models are created
- schemas are created
- validatoin is created for schemas
- models have their database properties set, such as types, widths of column size