Skip to content

OptiFlow-Tech-Solutions/OptiFlow_OS_Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OptiFlow OS Website

Business Execution Operating System marketing website for Indian MSMEs. 14 static pages with a custom design system, assembled by a Node.js build pipeline.

Quick Start

git clone https://github.com/optiflow-tech/optiflow-website.git
cd OptiFlow_OS_Website
npm install
npm run dev          # Build + serve locally at http://localhost:3000

Docker Quick Start

docker build -t optiflow-website .
docker run -p 80:80 optiflow-website
# open with  http://localhost:80

Or with Docker Compose:

```bash  
docker compose up --build

Project Overview

Aspect Detail
Framework None — pure static HTML/CSS/JS
Build Custom Node.js ESM pipeline (scripts/assemble.mjs)
CSS Oklch color space, CSS custom properties
JS Vanilla JS, no bundler
Runtime Zero runtime dependencies
Web Server nginx (production), npx serve (dev)

Directory Structure

src/pages/          14 HTML source pages
src/partials/       nav, footer, analytics, cookie-consent
assets/css/         core.css — design system
assets/js/          core.js, search.js, sw.js
scripts/            assemble.mjs (build), validate.mjs (lint)
functions/api/      Cloudflare Workers API backend
tests/e2e/          Playwright E2E + a11y tests
docs/               Developer + deployment docs
site.json           Canonical company data + page metadata

Available Scripts

Script Purpose
npm run build Assemble dist/ from src/
npm run validate Post-build validation
npm run dev Build + serve locally
npm run watch Watch + live reload
npm run test Playwright E2E tests
npm run lint:all CSS + HTML + JS linting
npm run docker:build Build Docker image
npm run docker:run Run Docker container
npm run docker:compose Docker Compose up

Deployment Targets

  • Docker / CoolifyDockerfile build pack (recommended)
  • Cloudflare Pagesnpm run deploy:cloudflare
  • Netlifynpm run deploy:netlify
  • AWS ECS / Kubernetes — Docker image (see docs/DEPLOYMENT.md)

Environment

Copy .env.example to .env and adjust:

NODE_ENV=production
PORT=80
API_BASE_URL=http://localhost:3001
SITE_URL=https://os.optiflow.co.in

Development

Read docs/DEVELOPER.md for detailed developer instructions, coding conventions, and the OpenSpec workflow.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors