Serve Static Files in Glitch - Glitch Typing CST Test
Loading…
Serve Static Files in Glitch — Glitch Code
A Glitch Node.js app serving static files from the 'public' folder.
const express = require("express")
const app = express()
app.use(express.static('public'))
app.listen(3000)Glitch Language Guide
Glitch is an online platform for creating, editing, and hosting web applications collaboratively. It allows users to build apps directly in the browser with instant deployment and real-time editing.
Primary Use Cases
- ▸Learning web development and JavaScript
- ▸Collaborative coding and hackathons
- ▸Rapid prototyping of web apps and APIs
- ▸Hosting and sharing small web projects
- ▸Experimenting with front-end and back-end technologies
Notable Features
- ▸Instant live preview and deployment
- ▸Real-time collaboration between users
- ▸Built-in Node.js server support
- ▸Template-based project creation
- ▸Free hosting with public URLs for projects
Origin & Creator
Glitch was founded by Anil Dash and Erica Baker in 2017, evolving from the earlier project ‘Fog Creek Glitch’ and ‘Hackpad’.
Industrial Note
Primarily used in web development education, hackathons, rapid prototyping, and small web projects. Less used for large-scale production apps in enterprise contexts.