Because Soumyajit Landing Pages is a standard Create React App project (powered byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/luislopez-stack/landing-pages/llms.txt
Use this file to discover all available pages before exploring further.
react-scripts 5.0.0), getting it production-ready is a single command. Running npm run build invokes Babel and Webpack in production mode, minifies all JavaScript and CSS, and writes the fully self-contained static site to the build/ directory — no server-side runtime required. Any host that can serve static files can run this template.
Building for production
Run the production build
From the project root, execute the build script:Create React App runs Babel to transpile modern JavaScript, Webpack to bundle and tree-shake modules, and applies production-mode minification and chunk-hashing to all JS and CSS outputs. The compiled artefacts are written to the
build/ directory.Inspect the build output
After a successful build the
build/ directory contains everything the browser needs:build/index.html— the single HTML entry point with injected script and link tags.build/static/js/— hashed JS bundles (main chunk, vendors chunk, runtime chunk).build/static/css/— hashed CSS bundles.build/static/media/— imported images and fonts that exceeded the inline threshold.build/favicon.pngand other public-folder assets copied verbatim.
Upload build/ to your static host
Deploy the
build/ directory to any static-file hosting service. Popular choices that work with zero additional configuration include:- Vercel — automatic CRA detection, HTTPS, and deploy previews.
- Netlify — drag-and-drop or Git-connected deployments.
- GitHub Pages — free hosting for public repositories via the
gh-pagespackage. - AWS S3 + CloudFront — scalable object storage with a global CDN.
- Firebase Hosting — fast CDN-backed hosting with Firebase integration.
Build output
The directory structure produced bynpm run build looks like this:
static/ include a content hash (e.g. main.a1b2c3d4.js) so that browsers cache aggressively and cache-bust automatically on each new deploy.
Environment variables
Create React App supports environment variables that are embedded into the bundle at build time. Every variable must be prefixed withREACT_APP_ — any other variable is intentionally ignored for security.
.env
process.env.REACT_APP_SITE_NAME.
CRA recognises the following files, applied in order of increasing specificity:
| File | When it is loaded |
|---|---|
.env | All environments |
.env.local | All environments, local overrides (not loaded in test) |
.env.development | npm start only |
.env.production | npm run build only |
Hosting options
Vercel
Zero-config deployment with automatic HTTPS and preview URLs — the platform the original template was built for.
Netlify
Drag-and-drop or Git-connected deployments with a generous free tier and built-in form handling.
GitHub Pages
Free hosting for public repos using the
gh-pages package — ideal if your code is already on GitHub.Firebase Hosting
Fast CDN-backed hosting with first-class Firebase integration for auth, Firestore, and more.