Skip to content

💣 Project that simulates the backend of the pastebin website

Notifications You must be signed in to change notification settings

apolzek/pastebomb

Repository files navigation

pastebomb

Run with docker compose

Up app and database

docker-compose --profile all up

Run app localy

Up database and start app

docker-compose --profile depends up   

go mod tidy
go run cmd/main.go
# or 
air

http://localhost:8000/health

Run migrations

migrate -path database/migrations/ -database "mysql://user:1234@tcp(0.0.0.0:3306)/go_gin_gonic?charset=utf8mb4&parseTime=True&loc=Local" up

Run tests (optional)

go test -count=1 ./... -v

About

💣 Project that simulates the backend of the pastebin website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published