Cafe Time is a Flask-based web application designed to help users find and manage the best cafes for working or studying. The app features detailed cafe listings, interactive maps, and admin functionalities for managing the listings.
- Flask: A lightweight WSGI web application framework used for server setup.
- Bootstrap: For responsive front-end design.
- SQLite: Used for the application's database needs.
- SQLAlchemy: ORM used for database interactions.
- Flask-WTF: For form handling in Flask applications
- Cafe Listings: View detailed information about each cafe, including hours, location, and amenities.
- Interactive Map: Locate cafes on a map to easily find them based on your location.
- Admin Features: Administrators can add, edit, or delete cafe listings using a special admin key.
/templatesadd_cafe.html: Form template for adding new cafes.index.html: Main page template showing cafe listings and map.
main.py: The main Flask application script.requirements.txt: Required libraries for running the project.
- Clone the repository:
git clone https://github.com/buroff1/cafe_finder-website.git
cd cafe_finder-website
- Set up a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows use venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Visit the website:
- Open
http://localhost:5000in your web browser.
An admin key is used to manage cafe entries (edit/delete). Ensure this key is kept secure and is not hard-coded in your public codebase.
Interested in contributing? Follow these steps:
- Fork the repo.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a pull request.
- Email: artem.burov0205@gmail.com
- GitHub: buroff1
