Matrimonial Portal Project
Introduction
Matrimonial platforms have long been an integral part of Indian society. But it’s time for a change. Our Matrimonial Portal Project takes the age-old saying, ‘Marriages are made in heaven,’ and gives it a digital twist: “Marriages are now made online.”
Matrimonial Introduction: How It Works
The application aims to simplify your search for a life partner by allowing you to browse through profiles based on specific criteria. Whether it’s gender, religion, or occupation, you can find potential matches that align with your priorities. And we don’t stop there; you can even upload your photograph and kundali to give others a holistic view of who you are.
Prioritize Your Search
Set your priorities right, and the portal will do the rest. Whether kundali matching is at the top of your list or perhaps current salary, the application filters profiles according to what matters most to you. No more awkward first meetings just to get the basic details—everything you need to know is available online.
Advantages of Using Our Portal
- The ease of search: Find profiles that align with your unique criteria.
- Custom Priority Settings: View profiles based on your set priorities.
- Saves Time: Eliminates the need for preliminary face-to-face meetings.
Limitations
While the portal offers many advantages, it also has some shortcomings:
- Lack of chat functionality: The platform doesn’t allow interested individuals to chat directly.
- Sharing of Sensitive Information: No secure method to share critical information like contact numbers or addresses.
Conclusion
Our Matrimonial Portal Project is designed to bring efficiency and convenience to your quest for a life partner. With its emphasis on matrimonial introduction and personalized priority settings, we aim to make your search as seamless as possible.
Sample Code
pip install Flask
Backend – ‘app.py
‘
from flask import Flask, render_template, request, redirect, url_for
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///users.db'
db = SQLAlchemy(app)
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80))
gender = db.Column(db.String(10))
religion = db.Column(db.String(50))
@app.route('/')
def index():
users = User.query.all()
return render_template('index.html', users=users)
@app.route('/register', methods=['GET', 'POST'])
def register():
if request.method == 'POST':
name = request.form['name']
gender = request.form['gender']
religion = request.form['religion']
new_user = User(name=name, gender=gender, religion=religion)
try:
db.session.add(new_user)
db.session.commit()
return redirect('/')
except:
return 'There was an error adding your profile'
return render_template('register.html')
if __name__ == "__main__":
db.create_all()
app.run(debug=True)
Frontend – ‘templates
‘ directory
<!DOCTYPE html>
<html>
<head>
<title>Matrimonial Portal</title>
</head>
<body>
<h1>Profiles</h1>
<a href="{{ url_for('register') }}">Register</a>
<ul>
{% for user in users %}
<li>{{ user.name }} | {{ user.gender }} | {{ user.religion }}</li>
{% endfor %}
</ul>
</body>
</html>
‘register.html
‘
<!DOCTYPE html>
<html>
<head>
<title>Register</title>
</head>
<body>
<h1>Register your profile</h1>
<form action="/register" method="post">
<input type="text" name="name" placeholder="Name"><br>
<input type="text" name="gender" placeholder="Gender"><br>
<input type="text" name="religion" placeholder="Religion"><br>
<input type="submit" value="Register">
</form>
</body>
</html>
In order to download the PDF, You must follow on Youtube. Once done, Click on Submit
Follow On YoutubeSubscribed? Click on Confirm