Skip to content

isgasho/postgres_go_cleanArchitect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Available Scripts In the project directory, you can run:

go run main.go

Then, we have CRUD request using "curl" :

Fetch all

curl localhost:9090/users

Add Users

curl -d '{"email":"namnd@gmail.com","password":"123456"}' -H "Content-Type: application/json" -X POST localhost:9090/users

Get user by Id

curl POST localhost:9090/users/4

DELETE By ID

curl -X DELETE localhost:9090/users/18

About

CRUD Golang server using clean architect with POSTGRESQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%