/go-admin-backend

admin panel backend with Golang

Primary LanguageGo

Admin Backend with Golang

docker-compose

  • 8000:3000 mean internal called with port 3000 external called with port 8000
  • .:/app mean if files in go-admin-backend folder has changed it will move to container folder called app (likes workdir)
  • depends on mean will start something in depends on command first and then right after that it will start command that depends on in it

to run project with Docker

  • docker compose up

  • docker compose up --build to run air(hot reload lib)

to seed user (seedUser.go)

  • run docker compose exec backend sh
  • then run go run src/commands/seedUsers.go