PAM BE API
Getting Started
- Make sure you have Go installed.
- Clone the repo
https://github.com/MaulanaR/tnde.git
- Go to the directory and run go mod tidy to add missing requirements and to drop unused requirements
cd tnde-api && go mod tidy
- Setup your .env file
cp .env-example .env && vi .env
- Start
go run main.go
Build for production
- Compile packages and dependencies
go build -o tnde-api main.go
- Setup .env file for production
cp .env-example .env && vi .env
- Run executable file with systemd, supervisor, pm2 or other process manager
./tnde-api