- Fiber (like express but for Go)
- MongoDB Driver
- Mongo Atlas for mongo server
- Docker
- Docker Compose
- Golang
Download packages
go download
rename .env.example
to .env
and fill it
change CORS origin in main.go
line 52
to localhost or your domain if you need
Go to client
dir and run
npm run build
Compile final bin with:
go build .
And finally run the bin!
you also need to config CORS origin and .env file
docker-compose build
docker-compose up -d
and if you want to see logs you can do it:
docker-compose logs -f