🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

gitlab.com/project-una/bb-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.com/project-una/bb-api

v0.0.0-20240903090516-c7e2b0c31925
Source
Go
Version published
Created
Source

Expense manager API

Docker commands for the app:

  • docker run --rm -e GOOS=linux -e GOARCH=amd64 -v C:\Users\zoshc\workspace\Golang\FinanceProject:/usr/src/myapp -w /usr/src/myapp golang:1.21.5 go build -o build/app cmd/main.go """create bin app"""
  • docker build -t bb_api_image . """create docker image"""
  • docker run -d --rm --name bb-api -e CONFIG_PATH=config/config.test.yml -e DB_PSW=root -p 81:80 bb_api_image """create docker continer"""

Docker commands for the database:

  • docker run --name em_api -e MYSQL_ROOT_PASSWORD=root -p 3006:3306 -d mysql:latest
  • docker run --name phpmyadmin_for_em_api --link em_api:mysql -p 8090:80 -e PMA_HOST=mysql -d phpmyadmin

FAQs

Package last updated on 03 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts