Generate email signatures for First Line Software employees.
This project uses Express.js for local development and Playwright for automated testing across multiple browsers.
- Install dependencies:
npm install- Copy the environment file and configure if needed:
cp .env.example .env- Install Playwright browsers:
npx playwright installFor WebKit support on Linux, install system dependencies:
sudo npx playwright install-depsnpm startThe server will start on http://localhost:3002 (configurable via .env file).
Tests run on three browsers: Chromium, Firefox, and WebKit (Safari).
npm test # Run all tests in headless mode
npm run test:ui # Run tests with Playwright UI
npm run test:headed # Run tests in headed mode (see browser windows)- Open
http://localhost:3002in your browser (or deploy to production) - Enter your name and job title
- Click "Copy Signature"
- Paste into Gmail settings
The application is hosted on GitHub Pages at: https://nl.firstlinesoftware.com/fls-email-signature
The static index.html file works standalone without the Express server in production.