Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

yacnotes/yac-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yac Notes API

Configuration

Configuration is done via environment variables:

YAC_ENV: debug # debug or release
YAC_PORT: 3000 # port on which the server listens
YAC_DB_DIR: ./.data/db # directory for the inbuilt NoSql database
YAC_LOG_TO_STDOUT: true # true is the only possible option for the moment, logfiles are planned
YAC_LOG_LEVEL: 0 # 0 - DEBUG ; 1 - INFO ; 2 - WARN ; 3 - ERROR ; 4 -PANIC

Development

Build

The main.go can be found in exe/. Build it from the root directory via go build -o .bin/yac-go exe/main.go

Hot reloading

The repository comes with a hot reloading tool for Go applications. Run air.exe on Windows to make use of this tool. Read more about it here: https://github.com/cosmtrek/air

About

Backend API for Yac Notepad

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages