Basic backend for knowlange base
POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_USERNAME=knowledge POSTGRES_PASSWORD=knowledge POSTGRES_DB=knowledge $GOPATH/bin/go1.18beta1 run ./cmd/knowledge/main.go
make build
make run
migrate -source file://migrations -database postgres://username:postgres@localhost:5432/knowlage up
Creating of the author
{
"name":"Abcd"
}
POST /api/v1/authors
Creating of the page