ethanbonsignori / menyou Goto Github PK
View Code? Open in Web Editor NEWSearch recipes and get all the ingredients🍒🍑🥝🥕🌽
Home Page: https://ethanbonsignori.github.io/MenYou/
Search recipes and get all the ingredients🍒🍑🥝🥕🌽
Home Page: https://ethanbonsignori.github.io/MenYou/
<!-- Signup Modal -->
<div class="modal fade" id="modal-signup" tabindex="10" role="dialog" aria-labelledby="signup-modal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Create Account</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="signup-form">
<div class="form-group">
<label for="signup-displayname">Display Name</label>
<input type="text" class="form-control" id="signup-displayname" required>
<small class="form-text text-muted">The display name is what other users will see.</small>
</div>
<div class="form-group">
<label for="signup-email">Email</label>
<input type="email" class="form-control" id="signup-email" required>
<small class="form-text text-muted">Your email will not be visible to other users.</small>
</div>
<div class="form-group position-relative">
<label for="signup-password">Password</label>
<input type="password" class="form-control password" id="signup-password" required>
<div class="password-toggle" data-toggle="tooltip" data-placement="right" title="Hide/Show Password">
<i class="fas fa-eye"></i>
</div>
</div> <!-- End Position:Relative Form Group -->
<div class="form-group position-relative">
<label for="signup-password-confirm">Confirm Password</label>
<input type="password" class="form-control" id="signup-password-confirm" required>
<div id="password-match">
<i id="match" class="fas fa-check"></i>
<i id="no-match" class="fas fa-times"></i>
</div>
</div> <!-- End Position:Relative Form Group -->
<small id="password-response" class="form-text"></small>
<button id="signup-button" class="btn btn-success">Sign Up</button>
</form>
</div>
</div>
</div>
</div> <!-- End Signup Modal -->
Get API Keys from required APIs
User authentication so that saved recipes are unique to each user.
<!-- Login Modal -->
<div class="modal fade" id="modal-login" tabindex="10" role="dialog" aria-labelledby="login-modal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Log In</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form id="login-form">
<div class="form-group">
<label for="login-email">Email</label>
<input type="email" class="form-control" id="login-email" required>
</div>
<div class="form-group position-relative">
<label for="login-password">Password</label>
<input type="password" class="form-control password" id="login-password" required>
<div class="password-toggle" data-toggle="tooltip" data-placement="right" title="Hide/Show Password">
<i class="fas fa-eye"></i>
</div>
</div> <!-- End Form group -->
<small id="password-login-response" class="form-text"></small>
<button id="login-button" class="btn btn-success">Log In</button>
</form>
</div>
</div>
</div>
</div> <!-- End Login Modal -->
This css is for styling the buttons and errros in the log in and sign up modals.
/* Account */
.logged-in, .logged-out {
display: none;
}
#login-button, #signup-button {
position: relative;
bottom: 0;
left:0;
width: 107%;
padding: 1rem;
margin: 2rem 0 -1rem -1rem ;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.password-toggle {
color: rgb(190, 190, 190);
position: absolute;
width: auto;
bottom: 8px;
right: 10px;
margin-top: 0;
cursor: pointer;
pointer-events: all;
}
.password-toggle:hover {
color: rgb(170, 170, 170);
}
.password-toggle:active {
color: rgb(150, 150, 150);
}
#password-match {
position: absolute;
width: auto;
bottom: 10px;
right: 10px;
margin-top: 0;
}
#password-match #no-match {
color: red;
display: none;
}
#password-match #match {
color: green;
display: none;
}
#password-login-response, #password-response {
display: inline
}
This is so that icons like the "eye" for the show/hide password and the check & X icon for the password confirmation will work on the login and signup modals.
As a person that values family recipes, I want to be able to save them in a centralized location with easy access so that other family members can also access and update.
##Acceptance Criteria
##User Story
As a chef, I want to be able to enter ingredients that I already have in my kitchen and find a recipe.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.