SPB Git forge

spb/hilmacorp

Public
1commits 1branches 0releases
29.2 MBsize
maindefault branch
20 days agolast push
TypeScript 93.3% JavaScript 4.4% CSS 2.3%
2.3 KB · 73 lines markdown
Rendered Raw Blame History
1> ⚠️ **URL live hors fonction pour le moment.** L'application a été retirée du cluster MacLustr le 2026-09-04 (processus arrêtés, copie du nœud supprimée). Ce dépôt spbgit est désormais la seule source de vérité du projet. Ancienne URL : https://www.hilmacorp.ai23<!--4Author: Simon-Pierre Boucher5Contact: contact@spboucher.ai6Project: Hilmacorp.ai — Web Platform7File: README.md8Description: Installation, development, testing, and deployment instructions9-->1011# Hilmacorp.ai — Web Platform1213Official bilingual (FR/EN) corporate website of **Hilmacorp.ai**, an artificial-intelligence14company founded by **Simon-Pierre Boucher** and **Massamba Mbaye**.1516## Stack1718- **Next.js 15** (App Router) + **TypeScript** (strict)19- **Tailwind CSS v4**20- Custom lightweight i18n (`/fr` and `/en` locale segments, dictionaries in `messages/`)21- Contact form API route with server-side validation (`/api/contact`)22- Full SEO: per-page metadata, Open Graph, `sitemap.xml`, `robots.txt`2324## Project layout2526```27app/28  [locale]/            Pages (home, about, founders, services, security, industries, contact)29  api/contact/         Contact form API route30  robots.ts sitemap.ts SEO metadata routes31components/            Reusable React components (PascalCase, one component per file)32lib/                   i18n loader + contact validation (pure, tested)33messages/              fr.json / en.json content dictionaries34tests/                 node:test unit tests for the API validation35```3637## Installation3839```bash40npm install41cp .env.example .env   # then fill in values as needed42```4344## Development4546```bash47npm run dev            # http://localhost:3000 → redirects to /fr or /en48```4950## Tests5152```bash53npm test               # node --test (requires Node ≥ 22 for native TS type stripping)54```5556## Production build & start5758```bash59npm run build60npm run start -- -p 807061```6263## Environment variables6465See `.env.example`. No secrets are committed. If `RESEND_API_KEY` is unset, contact66messages are validated and appended to `data/contact-messages.jsonl` on the server.6768## Deployment6970The site is portable: Vercel, any Node host, or private infrastructure.71Current production deployment: MacLustr node **M3U96a**, PM2 (`hilmacorp` + `hilmacorp-ngrok`),72exposed at **https://www.hilmacorp.ai** via ngrok on port 8070.73