Skip to content

Kourin1996/go-ddd-api-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ddd-api-sample

A sample code of REST API with Domain Driven Development

  • echo
  • go-pg

How to run

git clone git@github.com:Kourin1996/go-crud-api-sample.git

How to start

go build ./api/main.go
export POSTGRESQL_URL='postgres://postgres:postgres@localhost:5432/test?sslmode=disable'
POSTGRES_URL=postgres://postgres:postgres@localhost:5432/test?sslmode=disable migrate -database ${POSTGRESQL_URL} -path migrations up
./main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages