This application requires a Node.js server to run, so it cannot be hosted on GitHub Pages (which only supports static files). Here are the best free hosting options:
jayantajm1/fun-projectrender.yaml filehttps://fun-project.onrender.comNote: Free tier may sleep after 15 minutes of inactivity. First request will wake it up (takes ~30 seconds).
jayantajm1/fun-projectnpm install -g vercel
cd "d:\Freelancing project\fun-project"
vercel
Note: The vercel.json file is already configured for you.
If you just want to share with friends locally:
npm start
ipconfig (Windows) or ifconfig (Mac/Linux)http://YOUR_LOCAL_IP:3000# Install ngrok from ngrok.com
ngrok http 3000
For production deployments, you may want to set:
PORT - The port number (most hosts set this automatically)NODE_ENV=production - For production modeImportant: The SQLite database (proposals.db) needs persistent storage:
For long-term production, consider upgrading to PostgreSQL or MongoDB with these platforms.
For this project, Render is the best free option because: âś… Free tier with persistent disk âś… Easy GitHub integration âś… Auto-deploys on git push âś… Custom domains supported âś… HTTPS included
You can add this to your README.md:
Just click the button and follow the steps!