https://github.com/squidsoup/codecraft-js-workshop
Source examples for Angular.js workshop for Codecraft 18/02/14
https://github.com/squidsoup/codecraft-js-workshop
Last synced: 6 months ago
JSON representation
Source examples for Angular.js workshop for Codecraft 18/02/14
- Host: GitHub
- URL: https://github.com/squidsoup/codecraft-js-workshop
- Owner: squidsoup
- Created: 2014-02-17T09:34:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-17T10:40:54.000Z (over 12 years ago)
- Last Synced: 2024-05-30T01:06:46.098Z (about 2 years ago)
- Language: JavaScript
- Size: 270 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notes for Node/Angular Workshop for Dunedin Codecraft 18/02/14
## Angular Todo Client + Sails REST API Service
In this workshop we'll be continuing from where we left off last
month, and adding a REST API allowing us to save and retrieve our
todos.
We'll learn a bit about angular factories, $http and time allowing
will create a directive to provide some simple animations in our UI.
## Getting Started
To pickup where we left off at the last Codecraft, run the following:
```git checkout tags/simple-todo```
## Getting Lost
This repository has been tagged at significant commit points. If you
fall behind, you might find it useful to checkout a tag.
To list tags run:
```git tag -l```
and to checkout a tag run:
```git checkout tags/```
## Testing our Sails service
We can test confirm that our API is serving our todo model using:
```curl http://localhost:1337/todo```