Hello! Welcome to my Simple Web Backend experiment with ChatGPT. Feel free to clone the repo and test it out! If you want to know how I built this with ChatGPT, you can read the full blog here
go run main.go
Open a new window in your terminal and try out the following commands:
$ curl http://localhost:8080/people
[]
$ curl -X POST -H "Content-Type: application/json" -d '{"name": "Alice", "age": 27}' http://localhost:8080/people
$
$ curl http://localhost:8080/people
[{"name":"Alice","age":27}]
$ curl -X DELETE -H "Content-Type: application/json" -d '"Alice"' http://localhost:8080/people
$
$ curl http://localhost:8080/people
[]