Last active
May 16, 2018 22:10
-
-
Save graphicbeacon/376eb04dc4e02b3651e328acbe16a453 to your computer and use it in GitHub Desktop.
Sample code for "Building RESTful Web APIs with Dart, Aqueduct and PostgreSQL (Part 2)" post on Medium (4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import '../fave_reads.dart'; | |
List books = [ | |
{ | |
'title': 'Head First Design Patterns', | |
'author': 'Eric Freeman', | |
'year': 2004 | |
}, | |
{ | |
'title': 'Clean Code: A handbook of Agile Software Craftsmanship', | |
'author': 'Robert C. Martin', | |
'year': 2008 | |
}, | |
{ | |
'title': 'Code Complete: A Practical Handbook of Software Construction', | |
'author': 'Steve McConnell', | |
'year': 2004 | |
}, | |
]; | |
class BooksController extends HTTPController {...} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment