Skip to content

SajedurRahmanFiad/Raksa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAKSA complete website

This is a ready-to-use full-stack website for RAKSA: construction, contracting and manpower supply.

What is included

  • Premium frontend: Home, Company Profile, Projects, Contact
  • Working backend using Node.js only
  • Contact form API that saves inquiries
  • Admin login dashboard
  • Inquiry management with status, notes, delete and CSV export
  • Project management for the public project gallery
  • Local JSON database at data/raksa-db.json
  • WhatsApp, phone and email links already set

Contact details already added

Run locally

  1. Install Node.js 18 or newer.
  2. Open this folder in a terminal.
  3. Run:
npm start
  1. Open:
http://localhost:3000

Admin panel:

http://localhost:3000/admin

Default admin password:

RAKSA@2026

Change it before going live:

ADMIN_PASSWORD="your-strong-password" npm start

Data storage

The backend stores inquiries and project cards inside:

data/raksa-db.json

Back up this file regularly after the site is live.

Add real project photos later

Put real images inside:

public/assets/img/projects/

Then open the admin panel and set the project image path, for example:

/assets/img/projects/project-1.jpg

You can also use a hosted image URL if your hosting and CSP rules allow it. For the current secure default CSP, local images are recommended.

Optional inquiry notifications

The contact form already saves inquiries in the backend. For automatic notifications, set:

NOTIFICATION_WEBHOOK_URL="https://your-webhook-url"

This can connect to Make, Zapier, n8n, Slack, Discord or your own endpoint.

Deploy

This can be deployed to any Node.js hosting provider such as a VPS, Render, Railway, Fly.io, DigitalOcean, cPanel Node.js hosting, or a server with PM2.

For production:

NODE_ENV=production ADMIN_PASSWORD="your-strong-password" npm start

Make sure the hosting platform preserves the data folder, or attach persistent storage for it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors