Movie’s Now Web Application Project
Introduction
In an age where on-demand streaming is the norm, MovieNow brings a unique twist to the conventional movie-watching experience. Our movie web app allows you to not only download your favorite films but also engage in a community of movie enthusiasts through reviews and feedback.
Features and Functionalities
Our platform operates on a dual-module system:
- Admin Module: Admins have the ability to upload and delete movies. Additionally, they can view user information and feedback to improve the user experience.
- User Module: After a simple registration and login process, users gain access to an extensive library of movies. Here’s what you can do:
- Browse and download movies
- Leave reviews and read others’ feedback
Advantages
- Ease of Access: Downloading movies has never been easier.
- Community Engagement: Share your movie reviews and read what others have to say.
Disadvantages
- Internet Dependency: The application functions only with an active internet connection.
Security Measures
We take the security of your data seriously. All user information is stored securely, and payment details, if any, are encrypted for your safety.
Accessibility
Our movie web app is optimized for both desktop and mobile interfaces, ensuring you have an excellent user experience irrespective of the device you use.
Conclusion
MovieNow is not just another movie web app; it’s a community where film enthusiasts can come together to share their love for cinema. From a wide-ranging movie library to a platform for sharing reviews, MovieNow is your one-stop-shop for all things film.
Sample Code
Backend (Python – Flask)
from flask import Flask, render_template, request, redirect, url_for
app = Flask(__name__)
# Dummy data
movies = ['Movie1', 'Movie2', 'Movie3']
users = {}
reviews = {}
@app.route('/')
def home():
return render_template('index.html', movies=movies, reviews=reviews)
@app.route('/admin', methods=['GET', 'POST'])
def admin():
if request.method == 'POST':
new_movie = request.form.get('new_movie')
movies.append(new_movie)
return render_template('admin.html')
@app.route('/register', methods=['GET', 'POST'])
def register():
if request.method == 'POST':
username = request.form.get('username')
password = request.form.get('password')
users[username] = password
return render_template('register.html')
@app.route('/review', methods=['POST'])
def review():
username = request.form.get('username')
movie = request.form.get('movie')
review = request.form.get('review')
reviews[movie] = {username: review}
return redirect(url_for('home'))
if __name__ == '__main__':
app.run(debug=True)
Frontend (HTML)
<!DOCTYPE html>
<html>
<head>
<title>MovieNow</title>
</head>
<body>
<h1>Welcome to MovieNow</h1>
<ul>
{% for movie in movies %}
<li>{{ movie }}</li>
{% endfor %}
</ul>
<form action="/review" method="post">
Username: <input type="text" name="username"><br>
Movie: <input type="text" name="movie"><br>
Review: <input type="text" name="review"><br>
<input type="submit" value="Submit Review">
</form>
</body>
</html>
‘admin.html
‘ file for the admin dashboard.
<!DOCTYPE html>
<html>
<head>
<title>Admin Dashboard</title>
</head>
<body>
<h1>Admin Dashboard</h1>
<form action="/admin" method="post">
New Movie: <input type="text" name="new_movie">
<input type="submit" value="Add Movie">
</form>
</body>
</html>
‘register.html
‘ file for user registration.
<!DOCTYPE html>
<html>
<head>
<title>Register</title>
</head>
<body>
<h1>Register</h1>
<form action="/register" method="post">
Username: <input type="text" name="username"><br>
Password: <input type="password" name="password"><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