Skip to content

Cafe and Wifi is a full-stack Flask app enabling users to explore, add, and filter cafes based on amenities like Wi-Fi, sockets, toilets, and seating capacity. Designed for remote workers, digital nomads, and coffee lovers, it features a responsive UI and supports both SQLite and PostgreSQL databases.

License

Notifications You must be signed in to change notification settings

prachisharma-py/Cafe-and-Wifi

Repository files navigation

☕ Cafe & WiFi / London

A Flask-based web app to find the best work-friendly cafes in London.
Easily browse, filter, and manage cafes based on Wi-Fi availability, socket access, seating, and other remote-worker-friendly features.


🌐 Live Demo

🚀 Try the app here: https://cafe-and-wifi-is7h.onrender.com

Live on Render


📸 Preview

Home Page Filter Panel Add Cafe Form
Home Filters Add Cafe

Screenshots located in the /assets folder.


🚀 Features

  • Filter Cafes
    • Wi-Fi availability
    • 🔌 Power sockets
    • 🚻 Toilets
    • 📞 Call-friendliness
    • 🪑 Number of seats (e.g., 0–10, 10–20, 50+)
  • Add New Cafes
  • Delete Cafes
  • 🗺️ Map Integration – View cafes directly on Google Maps
  • 📊 Live Count & Smart Filtering
  • 🎨 Modern, Responsive UI – Built with Bootstrap 5 and FontAwesome
  • 🛢️ Database Flexibility – SQLite locally, PostgreSQL on deployment

🛠 Tech Stack

Layer Technology
Backend Python, Flask
Frontend HTML, CSS (Bootstrap 5), Jinja2, Font Awesome
Database PostgreSQL (via Neon), SQLite
ORM SQLAlchemy
Forms Flask-WTF, WTForms
Migrations Alembic
Server Gunicorn (for production)
Env Mgmt python-dotenv for .env file-based config

🔋 Database & Deployment

This app supports flexible local and cloud deployment:

  • SQLite for quick local development
  • PostgreSQL via Neon for scalable, production-ready environments

You can configure the database using a .env file:

.env

SECRET_KEY=your-secret-key

DATABASE_URL=postgresql://:@.neon.tech/?sslmode=require


Using Neon means:

🚀 Serverless PostgreSQL

🔄 Auto-scaling & branching

🔐 Secure SSL connections


🙌 Contribution

Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.

About

Cafe and Wifi is a full-stack Flask app enabling users to explore, add, and filter cafes based on amenities like Wi-Fi, sockets, toilets, and seating capacity. Designed for remote workers, digital nomads, and coffee lovers, it features a responsive UI and supports both SQLite and PostgreSQL databases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published