Categorygithub.com/syntaqx/api
modulepackage
0.0.0-20240815032507-7d0245534c69
Repository: https://github.com/syntaqx/api.git
Documentation: pkg.go.dev

# README

API

Docker Image Size Go Report Card codecov

My Personal API for things I want to API.

Getting started

Clone the repository

git clone [email protected]:syntaqx/api && cd "$(basename "$_")"

Starting the environment

docker compose up -d --build

[!NOTE] You may prefer to develop using go directly. You can reference the Dockerfile for necessary steps to run the code on your system, but given the steps will be different for each host operating system and their versions, this route will remain undocumented.

Binding to localhost

In order to access the container ports over localhost you'll need to override the default compose.yml port values and specify your preferred host port. To use the default values, or quickly populate the file, simply:

cp compose.override.example.yml compose.override.yml

[!NOTE] Any changes made to the compose.override.yml will be ignored by git, to feel free to use this to make any environment-specific changes or overrides without affecting others local settings.

Then (re)start your containers with the new port bindings:

docker compose up -d

# Packages

No description provided by the author
Package docs Code generated by swaggo/swag.