A simple in memory To-Do App built using Go.
- List all To-Do items
- Create new To-Do items
- Get a To-Do item by its ID
- Update existing To-Do items
- Delete To-Do items
GET /todos
: Get all To-Do itemsPOST /todos
: Create a new To-Do itemGET /todos/{id}
: Get a To-Do item by its IDPUT /todos/{id}
: Update a To-Do itemDELETE /todos/{id}
: Delete a To-Do item
To run the app, navigate to the project directory and execute the following command:
go run main.go
This will start the server, and you can access the API endpoints using a tool like curl or a REST client (e.g. Postman).