carriers

command module
v0.0.0-...-5648782 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

README

Carriers

Collection of schemas, models, and services for Managing Freight Carriers

Workspaces

  • api
  • db
    • mongodb
  • models
  • schemas

Running Locally

  1. Install all dependencies
go get && go build
  1. Install Docker
  2. Start mongodb and mongodb-express
docker compose up -d mongo mongo-express
  1. 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api module
db module
mongodb Module
e2e module
models module
schemas module
services module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL