Skip to content

devproje/balance-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balance Application

  • Gin으로 제작한 가계부 시스템 입니다. (Backend)
  • 클라이언트

Requirement

  • Go >= 1.23.4
  • PostgreSQL

How to use

  • 빌드 결과물은 Releases탭을 확인 해주세요! (Github Actions 준비중)

How to build

  1. 소스를 git에서 가져옵니다.
git clone https://github.com/devproje/balance-application
  1. 라이브러리를 불러와 줍니다.
  • Linux 또는 macOS 사용자는 아래의 명령어를 통해 활성화를 시켜줄 수 있습니다.
./configure
  1. config.sample.json 파일을 복제하여 config.json 파일을 작성해 줍니다.
  • 아래의 config.json 세팅은 예제 이므로 본인 환경에 맞게 작성을 해주세요.
{
	"port": 8080,
	"signup": false,
	"salt_size": 10,
	"cors_origin": "*",
	"db_data": {
		"host": "localhost",
		"port": 5432,
		"db_name": "balance",
		"username": "user",
		"password": "pass"
	}
}
  • 보안을 위해 signup 변수는 최초 계정 생성할때 빼고는 끄도록 합니다.
  1. Makefile을 이용하여 빌드를 해주세요.
make
  • 만약 makefile 시스템이 없는 경우에는 아래의 명령어를 입력 해주세요!
go build -o balance-application
  1. 아래의 명령어로 빌드 결과물을 실행 합니다.
./balance-application
  • 만약 디버깅 모드를 사용하고 싶으시다면 아래의 명령어를 따라 주시면 됩니다.
# full argument
./balance-application --debug
# or short argument
./balance-application -d

License

본 프로젝트는 MIT License를 따릅니다.

About

Golang으로 만든 가계부 시스템 - 백엔드

Resources

License

Stars

Watchers

Forks

Packages

No packages published