Giter Club home page Giter Club logo

perfect-cafe-hunt's Introduction

Cafe Hunt Web App

This is a simple Flask web application that allows users to add and view cafes. Users can submit information about a cafe, including its name, location on Google Maps, opening and closing times, coffee rating, wifi strength rating, and power socket availability. The submitted data is stored in a CSV file and displayed on the website.

Installation

To run this application on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/MirelaManta/perfect-cafe-hunt
    
  2. Change into the project directory:

    cd perfect-cafe-hunt
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    
  4. Set the SECRET_KEY environment variable. You can either set it directly in your system environment or create a .env file in the project directory and add the following line:

    SECRET_KEY=your-secret-key
    
  5. Run the application:

    python main.py
    
  6. Open your web browser and visit http://localhost:5000 to access the application.

Usage

  • Home Page: The home page provides a brief introduction to the cafe app. From here, you can navigate to the "Add a Cafe" page by entering http://localhost:5000/add in your browser's address bar.

  • Add a Cafe: Fill out the form with the required information about the cafe and submit it. If the form inputs are valid, the cafe will be added to the list.

  • View Cafes: By clicking the "Show Me" button from home page or by entering http://localhost:5000/cafes in the navigation bar, you can view the list of cafes. The cafes are displayed with their respective details, including name, location, opening and closing times, coffee rating, wifi strength rating, and power socket availability.

Contributing

Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

perfect-cafe-hunt's People

Contributors

mirelamanta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.