clone Repo create .env with PORT=3000 and a DB_URL for postgres
run
go run main.go
navigate to http://localhost:3000
- GET /posts : Getting posts
- POST /posts : Getting posts
- GET /posts/:id : Getting post with id
- PUT /posts/:id : Updating post
- DELETE /posts/:id : Deleting post