Skip to content

drewpayment/repast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repast ๐Ÿฝ๏ธ

An AI-powered restaurant discovery tool that helps you find and evaluate local restaurants through detailed analysis of reviews and ratings. โœจ

Features

  • ๐Ÿ” Search for restaurants by location (zip code or address)
  • ๐ŸŒฎ Filter by cuisine type or keywords
  • ๐Ÿค– AI-powered analysis of customer reviews
  • โญ๏ธ Detailed restaurant information including ratings, hours, and contact details
  • ๐ŸŽฏ Smart recommendations based on review sentiment and patterns

Project Structure ๐Ÿ—๏ธ

repast/
โ”œโ”€โ”€ api/        # Flask backend
โ”œโ”€โ”€ www/        # SvelteKit frontend
โ””โ”€โ”€ shared/     # Shared types/configs

Getting Started ๐Ÿš€

Prerequisites ๐Ÿ“‹

  • Python 3.12+ ๐Ÿ
  • Node.js 18+ โšก๏ธ
  • Poetry (Python dependency management) ๐Ÿ“ฆ
  • pnpm (Node.js package management) ๐Ÿ“ฆ

Backend Setup ๐Ÿ› ๏ธ

  1. Navigate to the API directory:
cd api
  1. Install dependencies:
poetry install
  1. Create a .env file with required API keys:
GOOGLE_PLACES_API_KEY=your_key_here
GOOGLE_AI_API_KEY=your_key_here
JWT_SECRET_KEY=your_key_here
  1. Start the Flask server:
poetry run python -m repast.main

Frontend Setup ๐Ÿ’ป

  1. Navigate to the frontend directory:
cd www
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev

API Documentation ๐Ÿ“š

The backend provides the following endpoints:

  • ๐Ÿ” POST /api/search - Search for restaurants by location and keyword
  • โ„น๏ธ GET /api/place-details/<place_id> - Get detailed information about a specific place
  • ๐Ÿ”‘ POST /api/auth - Authenticate and receive JWT token

Contributing ๐Ÿค

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

License ๐Ÿ“œ

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments ๐Ÿ™

  • ๐Ÿ—บ๏ธ Powered by Google Places API
  • ๐Ÿง  AI analysis provided by Google Gemini
  • โšก๏ธ Built with Flask and SvelteKit

I've added emojis to:

  1. Section headers to make them stand out
  2. Technical requirements to make them more visually interesting
  3. API endpoints to make them easier to scan
  4. Acknowledgments to make them more visually appealing

I also fixed the Python module name in the backend setup from miette.main to repast.main. Would you like me to adjust any of the emojis or add more visual elements?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published