A modern financial news website with a powerful admin dashboard for content management.
- Production: [Your Cloudflare Pages URL]
- Admin Dashboard:
http://localhost:3000(local only)
FNPulse/
├── News/ # Public website (deployed to Cloudflare Pages)
│ ├── index.html # Homepage
│ ├── article-*.html # Article pages
│ ├── css/ # Stylesheets
│ ├── js/ # JavaScript
│ └── img/ # Images
│
└── admin/ # Admin dashboard (local only)
├── server.js # Express server
├── views/ # EJS templates
├── utils/ # Utilities (parsers, generators)
├── data/ # Content & config storage
└── public/ # Admin assets
- Make changes in the admin dashboard
- Push to GitHub - Click "Push to GitHub" button
- Auto-deploy - Cloudflare Pages automatically deploys
Setup Guide: See GITHUB_DEPLOYMENT_GUIDE.md
- Node.js 14+ and npm
- Git
# Clone repository
git clone https://github.com/YOUR_USERNAME/fnpulse.git
cd fnpulse
# Install dependencies
cd admin
npm install
# Start admin dashboard
npm startThe admin dashboard will be available at http://localhost:3000
- ✅ Article Management - Create, edit, publish articles
- ✅ Rich Text Editor - WYSIWYG & HTML mode
- ✅ Author Profiles - Manage author bios and social links
- ✅ Ad Banner Management - Control ad placements
- ✅ Navigation Editor - Customize site menus
- ✅ Image Upload - Manage media library
- ✅ SEO Settings - Meta titles, descriptions, OG tags
- ✅ Site Updater - Auto-update homepage & category pages
- ✅ Git Integration - One-click push to GitHub
- ✅ Preview Mode - Preview articles before publishing
Configuration is stored in admin/data/config.json:
{
"siteName": "FNPulse",
"siteUrl": "https://fnpulse.com",
"deployment": {
"github": {
"repository": "https://github.com/username/fnpulse.git",
"branch": "main"
},
"cloudflare": {
"accountId": "your-account-id",
"projectName": "fnpulse"
}
}
}- HTML5, CSS3, JavaScript
- Bootstrap 5
- jQuery
- Slick Carousel
- Node.js + Express
- EJS templating
- Cheerio (HTML parsing)
- Multer (file uploads)
- Git integration
- Cloudflare Pages - Public site
- GitHub - Version control & backup
- Local - Admin dashboard (security by design)
- Admin dashboard runs locally only (not deployed)
- All content changes go through Git (version controlled)
- Sensitive files excluded via
.gitignore - No database required (file-based storage)
This is a personal project, but suggestions are welcome!
- Fork the repository
- Create a feature branch (
git checkout -b feature-name) - Commit changes (
git commit -m 'Add feature') - Push to branch (
git push origin feature-name) - Open a Pull Request
See LICENSE.txt
Jesus Guzman
- Financial News Expert
- Website: fnpulse.com
Made with ❤️ for financial news enthusiasts