test-render
A simple Express.js "Hello World" application configured for deployment on Render cloud platform.
Overview
This project demonstrates a minimal Express.js web server that serves a styled HTML page with confetti animation. It's designed as a starting template for Node.js applications on Render.
Features
- Express.js server - Lightweight web framework for Node.js
- Confetti animation - Interactive welcome page with particle effects
- Production ready - Configured with proper timeouts and environment variables
- Render deployment - Includes
render.yaml configuration for seamless deployment
Tech Stack
- Runtime: Node.js
- Framework: Express.js 5.0
- Package Manager: Yarn
- Deployment: Render (free tier)
- Frontend: Vanilla HTML/CSS/JS with canvas-confetti library
Quick Start
# Install dependencies
yarn install
# Start the server
yarn start
# or
node app.js
The application will be available at http://localhost:3001 (or the port specified by PORT environment variable).
Deployment
This project is configured for Render deployment using the included render.yaml file. The configuration includes:
- Free tier web service
- Automatic builds with
yarn install --frozen-lockfile
- Production environment variables
- Proper server timeout settings for cloud deployment
Project Structure
app.js - Main Express server with embedded HTML
package.json - Node.js dependencies and scripts
render.yaml - Render platform deployment configuration
yarn.lock - Dependency lock file