Internet of Things
TinkerforgeCode in ActionAbout Me
  • Course Outline
  • 1 - Getting Started
    • Overview
    • Connect to the LED
    • Getting Started
      • Glitch
      • The Application Template
    • Concepts in Programming
      • What is Programming?
      • Variables
      • Functions and Commands
      • Control Structures
      • Loops
      • Objects and Libraries
    • Programming Simple Web Apps
    • Exercises
      • 1.1 Buttons and Inputs
  • 2 - Internet of Things
    • Overview
    • IoT in our Apps
      • Getting Started
        • Hardware Kit
        • Brick Viewer and Daemon
      • Connect to the Devices
        • The Tinkerforge Device Manager
      • Program the Devices
        • RGB LED
        • RGB LED Button
        • OLED Display
        • Sensors
          • Humidity Sensor
          • Ambient Light Sensor
    • Components and Use Cases
    • Exercises
      • 2.1 Lights and Buttons
      • 2.2 Sensors
      • 2.3 Display
  • 3 - Artificial Intelligence
    • Overview
    • AI in our Apps
      • Google's Teachable Machine
      • Face Recognition
      • Training a Custom Model
    • Rules vs. Learning
    • Learning from Data
    • Use Cases
      • Computer Vision
        • Image Classification
        • Handwriting Recognition
    • Machine Learning Algorithms
      • Artificial Neural Networks
      • Decision Trees
      • Logistic Regression
    • Exercises
      • 3.1 Rules vs. Learning
      • 3.2 Fruits and Vegetables
      • 3.3 Face Recognition
      • 3.4 A Classifier for Iris
  • 4 - Cloud & APIs
    • Overview
    • APIs in our Apps
    • Cloud and APIs
      • Weather API
      • NASA Open APIs
      • EDAMAM Nutrition and Recipes API
    • Push Notifications
    • Exercises
  • 5 - App Project
    • Overview
    • Summer 2021
    • Summer 2022
  • Appendix
    • Other Devices
      • Motorized Linear Poti
      • Sound Pressure Sensor
      • NFC Reader
      • Motion Detector
    • UI Features
      • Realtime Charts
      • Countdown Timer
    • Digital Computers
      • Overview
      • The Binary System
      • Code Systems
      • Logic Gates
      • Binary Addition
      • From Analog to Digital
    • Cheat Sheets
    • Projects
      • IoT @ Pickup-Boxes
Powered by GitBook
On this page
  • Goals
  • Create a Free Glitch Account
  • Projects

Was this helpful?

  1. 1 - Getting Started
  2. Getting Started

Glitch

We use Glitch as our online code editor. Glitch has some great features and makes coding and collaboration simple. And it's free for everyone.

PreviousGetting StartedNextThe Application Template

Last updated 4 years ago

Was this helpful?

Goals

  • You are signed up for a free Glitch account.

  • You are familiar with Glitch as our Integrated Development Environment (IDE).

Create a Free Glitch Account

Click the link below to sign up for a free Glitch account. Glitch runs in the web browser, which means you don't have to install anything. You can sign up for free using your university's email address. Or you can use an existing Facebook or Google account. It's up to you:

Glitch is all you need to get coding with HTML, CSS and JavaScript. It is the only code editor we'll be using throughout this course.

Projects

You manage your code in Glitch in so-called projects. A project could be a personal website you are creating from scratch, or a web app you are building in this course. A project contains a set of files organized in folders, just as you know it from the files on your computer.

Depending on the app you're building, you choose one of the four general types of projects available in Glitch. The glitch-hello-webpage is a simple website project with a web server to serve static websites. This means that the files you create (HTML, CSS, JavaScript) are served to the user as they are. There is nothing happening before serving the website, like querying a database and putting together dynamic content.

To make a dynamic website, we need a web server with a scripting language and/or a database. Such scripting languages run on the server and preprocess a website before it is served to the user. Preprocessing can mean different things: put in the current date, show the user's avatar when logged in, read current news articles from a database and put the teasers on the front-page, and much more. Languages like PHP, Python or Node.js are typically used as scripting languages on web servers. The glitch-hello-express template comes with a Node.js server installed, ready to preprocess our website templates.

The two other options glitch-hello-react and glitch-hello-eleventy are two templates introduced in 2021 to get started with the popular UI framework and the static website generator . I won't explain the details here, but both are interesting templates too if you are planning to create more advanced websites.

There is a fifth option, Import from GitHub, and this is the one we'll be using. Importing a project from GitHub pulls all files from that repository into your Glitch account and creates a new project from it. For this course, I provide you with an that I host on GitHub and that you can pull into your Glitch account whenever you want to start a new web app. We'll explore this template next.

React
Eleventy
application template
Glitch: The friendly community where everyone builds the webglitch
Learn more web servers, and static vs. dynamic websites on MDN.
What is a web server? - Learn web development | MDN
Logo
The sign up page for Glitch (accessed: 05/2020).
Logo