A quick example of a TODO list app using Go language. The app include a REST API and a dynamic web interface using websockets.
Amazing results with 50 000 requests executed in less than 1 second!
Note: The benchmark was executed on a MacBook Pro M1 Pro and 16 GB of RAM using Apache HTTP server benchmarking tool.
Get the dependencies:
go mod download
Copy the .env.example
file to .env
and set the environment variables:
cp .env.example .env
And execute the makefile:
make
Image available on Docker Hub: vcibelli/go-todo
docker run -p 3000:3000 -e SERVER_PORT=3000 -e API_URL=http://localhost:3000 --name go-todo -d vcibelli/go-todo:latest