-
Notifications
You must be signed in to change notification settings - Fork 0
/
Movie_API_Blog.html
89 lines (82 loc) · 3.77 KB
/
Movie_API_Blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Movie Ranker</title>
<link rel="icon" type="image/x-icon" href="image/favicon.ico">
<link rel="stylesheet" href="Blog_Post.css">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="index.html">Home</a>
<a href="Blog.html">Blog</a>
<a href="about.html">About Me</a>
<a href="Holden_Weber_Resume.html">Resume</a>
</div>
<!-- Use any element to open the sidenav -->
<span onclick="openNav()">
<div class="hamburger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</span>
</head>
<body>
<header>
<h1>Movie Ranker</h1>
</header>
<main>
<section>
<h2>Introducing Movie Ranker</h2>
<p>Looking for a reliable source to explore movies and get quick summaries? Look no further than Movie Ranker, a sleek web application powered by Azure Cosmos DB and the Hugging Face API.</p>
<img src="Movie_Ranker.png" alt="Movie Ranker" width="100%">
</section>
<section>
<h2>Features</h2>
<ul>
<li>Movie Listing: Dive into a curated list of movies complete with essential details.</li>
<li>Movie Details: Get in-depth information about each movie with just a click.</li>
<li>Summary Generation: Instantly generate movie summaries using the cutting-edge Hugging Face API.</li>
<li>Dark Theme: Enjoy a stylish dark theme for a visually pleasing experience, day or night.</li>
</ul>
</section>
<section>
<h2>Getting Started</h2>
<ol>
<li><strong>Azure Cosmos DB:</strong> Create a Cosmos DB instance named 'Movies' with a container named 'Movies', and populate it with your movie data.</li>
<li><strong>Environment Variables:</strong> Configure your Azure Function App with the necessary environment variables, including CosmosDBEndpoint, CosmosDBKey, and HUGGINGFACE_API_KEY.</li>
<li><strong>Deployment:</strong> Deploy the provided Azure Function App containing the code.</li>
<li><strong>Accessing the Application:</strong> Once deployed, access Movie Ranker through the specified routes.</li>
</ol>
</section>
<section>
<h2>Usage Made Simple</h2>
<p>Using Movie Ranker is simple:</p>
<ul>
<li><strong>GetMovies:</strong> Head to the /GetMovies route to browse through the movie collection.</li>
<li><strong>GenerateSummary:</strong> Click on the "Generate Summary" button for any movie to receive an on-the-fly summary.</li>
</ul>
</section>
<section>
<h2>API Routes at Your Fingertips</h2>
<p>Utilize Movie Ranker's API routes for seamless integration:</p>
<ul>
<li><strong>GetMovies Route:</strong> Retrieve the list of movies by accessing the /GetMovies route via the GET method.</li>
<li><strong>GenerateSummary Route:</strong> Generate a summary for a specific movie by navigating to the /GenerateSummary route with the movie title as a parameter.</li>
</ul>
</section>
<section>
<li><strong>Contribute:</strong> Feel free to contribute to the project by opening issues or submitting pull requests. Check out the contribution guidelines for more information.</li>
</ul>
</section>
</main>
<script src="myscripts.js"></script>
<footer>
<p>Link to Movie Ranker: <a href="https://severless-movies-api.azurewebsites.net/api/GetMovies">Movie Ranker</a></p>
<p>Link to Movie Ranker GitHub: <a href="https://github.com/ipconfig2/Serverless-Movies-API">GitHub</a></p>
<p>Author: Holden Weber</p>
</footer>
</body>
</html>