api

package module
v0.0.0-...-7d02455 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 0 Imported by: 0

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 git@github.com: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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
api
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal

Jump to

Keyboard shortcuts

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