Categorygithub.com/davidado/go-api-reference
module
0.0.0-20240907162627-ed7ba4f55645
Repository: https://github.com/davidado/go-api-reference.git
Documentation: pkg.go.dev

# README

Go REST API Reference Project

Installation

Install https://github.com/golang-migrate/migrate/tree/v4.17.1/cmd/migrate for DB migrations.

Usage

Make sure a MySql database is running with a database named ecom then run the migrations.

make migrate-up

Run the project:

make run

Reference the Makefile for more commands.

Tests

Run the tests:

make test

# Packages

Package main : Application entry point.
Package config : Configuration package.
Package db : Database package.
No description provided by the author
No description provided by the author
Package types contains the types used in the application.
Package validator : Validator package.