Simple Golang API for creating todo notes

To run:

[email protected]:~$ cd backend
[email protected]:~$ go run .

Application will be listening on localhost:8080

API routes are listed in main.go

Example of signin up and getting JWT token

To signup:

[email protected]:~$ curl -X POST localhost:8080/user/signup --data '{ "email" : "[email protected]", "password" : "12345678" } '

To retrieve JWT token run:

[email protected]:~$ JWT=$(curl -X POST localhost:8080/user/signin --data '{ "email" : "[email protected]", "password" : "12345678" }' )

GitHub

View Github