diff --git a/slides/a-restful-example.md b/slides/a-restful-example.md new file mode 100644 index 0000000..99b3c0d --- /dev/null +++ b/slides/a-restful-example.md @@ -0,0 +1,9 @@ +## A RESTful Example + +Some site with example + +* List: GET /resource +* Create: POST /resource +* Show: GET /resource/1 +* Update: PUT /resource/1 +* Delete: DELETE /resource/1 diff --git a/slides/list.json b/slides/list.json index 7aade68..d691e40 100644 --- a/slides/list.json +++ b/slides/list.json @@ -1 +1,10 @@ -["index.md"] +[ + "index.md", + "what-is-an-api.md", + "make-it-restful.md", + "rest-constraints.md", + "rest-on-the-web.md", + "a-restful-example.md", + "resources.md", + "other-talks.md" +] diff --git a/slides/make-it-restful.md b/slides/make-it-restful.md new file mode 100644 index 0000000..449c423 --- /dev/null +++ b/slides/make-it-restful.md @@ -0,0 +1,5 @@ +## What is RESTful? + +* **RE**presentational +* **S**tate +* **T**ransfer diff --git a/slides/other-talks.md b/slides/other-talks.md new file mode 100644 index 0000000..ca369fe --- /dev/null +++ b/slides/other-talks.md @@ -0,0 +1,10 @@ +## Other Talks + +* [Intro to REST](https://www.youtube.com/watch?v=llpr5924N7E) + * Todd Fredrich +* [The Grapes of Rapid](https://www.youtube.com/watch?v=C7beg3OzxC4) + * Michael Bleigh + +note: + + diff --git a/slides/resources.md b/slides/resources.md new file mode 100644 index 0000000..fb6d97a --- /dev/null +++ b/slides/resources.md @@ -0,0 +1,8 @@ +## Resources + +* This presentation + * [Slides](https://github.com/atomaka/lets-talk-apis) +* [api.lansing.codes](https://github.com/lansingcodes/api) +* [Grape Project](https://github.com/ruby-grape/grape) +* [ActiveModel::Serializer Project](https://github.com/rails-api/active_model_serializers) + diff --git a/slides/rest-constraints.md b/slides/rest-constraints.md new file mode 100644 index 0000000..0381369 --- /dev/null +++ b/slides/rest-constraints.md @@ -0,0 +1,13 @@ +## REST Constraints + +* Client-server +* Stateless +* Cacheable +* Layered System +* Code on demand +* Uniform interface + +note: + +Code on demand: Servers can temporarily extend or customize the functionality of +a client by the transfer of executable code. diff --git a/slides/rest-on-the-web.md b/slides/rest-on-the-web.md new file mode 100644 index 0000000..b43e0e6 --- /dev/null +++ b/slides/rest-on-the-web.md @@ -0,0 +1,9 @@ +## REST on the Web + +* Take a base URI +* Pick a data type (JSON, XML, Atom, etc) +* Use standard HTTP methods + * GET, PUT, POST, DELETE, (and PATCH) + +notes: + diff --git a/slides/what-is-an-api.md b/slides/what-is-an-api.md new file mode 100644 index 0000000..2e9243b --- /dev/null +++ b/slides/what-is-an-api.md @@ -0,0 +1,7 @@ +## What is an API? + +* **A**pplication +* **P**rogramming +* **I**nterface + +Let other people use your stuff! diff --git a/templates/_index.html b/templates/_index.html index 466a80e..cf4eca5 100644 --- a/templates/_index.html +++ b/templates/_index.html @@ -63,7 +63,7 @@ // Full list of configuration options available at: // https://github.com/hakimel/reveal.js#configuration Reveal.initialize({ - controls: true, + controls: false, progress: true, history: true, center: true,