Fiber + mongodb + redis Boilerplate for real world application example
-
chmod 777 ./docker-compose.yml
-
export -p | grep UID ini untuk export UID di Linux
-
chmod 777 ./mongo-init.sh
-
mkdir data
-
chmod 777 ./docker-up.sh
-
./docker-up.sh
-
go get github.com/joho/godotenv/cmd/godotenv
-
ensure $GOPATH/bin in your $PATH
close all bash & editor and reopen test call "godotenv"
-
./start.sh
-
Update Documents MUST ALWAYS MAKE NEW STRUCT
-
Create Doc always create new Struct From model for database consistency