Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

safetybeacon/beacon-api-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beacon-api

Quick Start

export POSTGRES_USER=<value>
export POSTGRES_PASSWORD=<value>
export POSTGRES_DATABASE=<value>
export POSTGRES_HOST=<value>
export PORT=<value>
go build -o server cmd/main.go
./server

Swagger docs

you can find swagger docs on

http://localhost:<port>/v1/swagger/index.html

swagger_docs

Docker

  • run docker-compose.yml file
export db_password=<value>
docker-compose up --build -d
  • to check the status of the pods
docker-compose ps
  • you can test the API using swagger navigate to http://localhost:8080/v1/swagger/index.html

Releases

No releases published

Packages

No packages published