Talent-Atmos-Backend

command module
v0.0.0-...-192c46a Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Talent-Atmos-Backend

Installation Dependencies

Ensure you have Go installed. After you cloning the project you have to install the package/library that will be using in the project from this command.

go mod tidy

Environment Variables

Create a .env file in the root directory and configure it based on .env.example

Running the project

go run main.go
OR

If you want hot reload you can install air from this package:

go install github.com/air-verse/air@latest

Then run this command for building the project

air

Generate Swagger API Document

swag init -g .\main.go -o ./docs --parseDependency --parseInternal

Docker

Building the docker image

docker build -t DOCKER_USERNAME/IMAGE_NAME .

Running the container

docker run --env-file .<path to your env file> -p "<exposed port>:8080"  IMAGE_NAME:TAG

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
app
pkg

Jump to

Keyboard shortcuts

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