From 3afa65bf825b74a2abc94c810424feb458450e09 Mon Sep 17 00:00:00 2001 From: Jeremy Likness Date: Tue, 26 Nov 2019 13:18:18 -0800 Subject: [PATCH 1/2] Create README.md Add readme. --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e162d7 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Vanilla.js Deck + +A Vanilla.js Single Page App (SPA) slide deck for a presentation about Vanilla.js. Yes, this is inception! No builds (unless you +count the included Docker image) and no frameworks, just pure JavaScript for a SPA application that features: + +- Routing (yes, you can bookmark/return to a slide) +- Transitions +- Reusable components +- Data-binding + +## Getting Started + +Optionally fork then clone the repo: + +`git clone https://github.com/JeremyLikness/vanillajs-deck.git` + +Spin up your favorite web server and point it to the root directory. There are no builds involved. + +One simple approach is to use Node.js and `http-server`: + +`npm i -g http-server` + +`cd vanillajs-deck` + +`http-server .` + +Navigate to one of the URLs with `index.html` as the path. + +### Docker setup + +If you prefer, you can build a Docker image and run the presentation from there. + +`cd vanillajs-deck` + +`docker built -t vanillajs-deck .` + +`docker run --rm -d -p 8080:80 vanillajs-deck` + +Navigate to `http://localhost:8080/index.html` to start the show. From ced9985c9a486be4ced7da58788f536601591c4b Mon Sep 17 00:00:00 2001 From: Jeremy Likness Date: Tue, 26 Nov 2019 13:18:48 -0800 Subject: [PATCH 2/2] Create LICENSE Add a license --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..36dc978 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Jeremy Likness + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.