Pulsar

API Backend for IGAG

Build Pulsar
go build -o pulsar.exe -ldflags '-s -w'
curl --request POST \
     --url 'http://localhost:8080/users/login'\
     --headers 'Content-Type: application/json'\
     --data '{"username": "Title", "password": "password"}'

Create Post

curl --request POST \
     --url 'http://localhost:8080/posts'\
     --data '{"title": "Title", "body": "body"}'

Create Post

curl --request GET \
     --url 'http://localhost:8080/posts'