Welcome to Pyarometer, the ultimate love compatibility predictor! ๐โจ
This project combines the magic of Python ๐, Flask ๐, and MongoDB ๐ to calculate love compatibility between two names. Whether you're curious about your soulmate or just having fun, Pyarometer has got you covered! ๐
- ๐ฎ Love Compatibility Calculator: Enter two names and discover their compatibility percentage!
- ๐ผ๏ธ Beautiful UI: A sleek and responsive design with animations and gradients.
- ๐ MongoDB Integration: Stores compatibility checks for future reference.
- ๐ API Endpoint: Use
/api/compatibility
to integrate the compatibility calculator into your own projects. - ๐ Special Cases: Easter eggs for certain name pairs with unique compatibility scores!
- Frontend: HTML5, CSS3 ๐จ
- Backend: Python (Flask) ๐
- Database: MongoDB ๐
- Deployment: Vercel ๐
- Python 3.11+ ๐
- MongoDB Atlas account ๐
- Clone the repository:
git clone https://github.com/yourusername/pyarometer.git cd pyarometer
- Install dependencies"
pip install -r requirements.txt
- Set up your .env file with your MongoDB URI:
MONGODB_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/?retryWrites=true&w=majority
- Run the app locally:
python app.py
- Method: POST
- Request Body:
{ "name1": "Alice", "name2": "Bob" }
- Response:
{ "compatibility": 85 }
This project is licensed under the MIT License. ๐
We welcome contributions! Feel free to open issues or submit pull requests. ๐
- Flask for powering the backend ๐
- MongoDB for seamless database integration ๐
- Vercel for deployment ๐
๐งก Made with Love by Abhijeet Jha ๐