Skip to content

saromanov/knowledge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knowledge

Basic backend for knowlange base

Developers

Running

Local running

POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_USERNAME=knowledge POSTGRES_PASSWORD=knowledge POSTGRES_DB=knowledge $GOPATH/bin/go1.18beta1 run ./cmd/knowledge/main.go

Container running

make build
make run

Migrations

migrate -source file://migrations -database postgres://username:postgres@localhost:5432/knowlage up

API

Creating of the author

Payload

{
   "name":"Abcd"
}
POST /api/v1/authors

Creating of the page

Payload

About

Simple knowledge base

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published