todo

A task manager written in Go using TDD techniques, each commit should represent a step in the application development.

Github stars Tracking Chart

ToDo

This application has been written for a talk on Go, TDD, and REST APIs.

The slides for the talk can be seen here.

TODO provides a simple task management application.

The purpose of this project is to show how some general techniques can be applied to Go code.

Test Driven Development

The task package has been implemented using TDD techniques, starting writing tests, seeing them failing, writing the code to make the test pass.

Once all tests pass the code is refactored.

Implementation of a REST API in Go

The server package handles requests on "/task/" providing a REST API.

This REST API is then exposed as a stand-alone http server and a Google App Engine app.
Please take into account that the TaskManager is only in-memory at this point, which means that tasks are
lost if the application is restarted.

Consuming a REST API with AngularJS

With a minimum of HTML, CSS, and AngularJS we create a UI for the REST API.
The code is in the todo/static directory.

Main metrics

Overview
Name With Ownercampoy/todo
Primary LanguageGo
Program languageShell (Language Count: 5)
Platform
License:Apache License 2.0
所有者活动
Created At2013-12-07 00:28:45
Pushed At2019-02-18 01:12:24
Last Commit At2017-05-05 15:46:46
Release Count0
用户参与
Stargazers Count569
Watchers Count34
Fork Count90
Commits Count48
Has Issues Enabled
Issues Count3
Issue Open Count0
Pull Requests Count5
Pull Requests Open Count1
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private