Make date nights easier with Deto No Yoru!
Report Bug or Request Feature
Table of Contents
デートの夜 (Deto No Yoru) is a small website dedicated to making date nights easier. If you’re tired of never knowing what to watch or eat, Deto No Yoru is your solution! With the click of one button, our app will tell you which local restaurant you should try and what anime you should watch. If you’re still unsure of what to watch, our trending page will show you the top anime series according to MyAnimeList.
Each member of our team had been in a situation where hours had been spent debating with their significant other or friends over what to watch and what to eat. We set out to create a solution to end those painful hours scrolling through Netflix or Google maps. Rather than using an API based on recipes, it was important to our team that Deto No Yoru would be an easy date night fix by using local restaurants. By generating a random restaurant and anime, our goal was to take the “thinking” out of date night planning.
The following code uses the user-selected genre to fetch information from the jikan API. The array from the selected genre is then randomized. This same pattern was also used to fetch the random local restaurant.
function fetchAnime(genre) {
fetch(`https://api.jikan.moe/v3/genre/anime/${genre}`)
.then(function (response) {
return response.json();
})
.then(function (animeList) {
randomizeAnime(animeList)
})
.catch(function (error) {
console.error("ERROR: ", error);
})
}
function randomizeAnime(animeList) {
const randomAnime = Math.floor(Math.random() * animeList.anime.length);
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Branch (
git checkout -b yourbranch/Contribution
) - Commit your Changes (
git commit -m 'added amazing feature'
) - Push to the Branch (
git push origin yourbranch/Contribution
) - Open a Pull Request
Alyna Palamarchuk - Portfolio - alynapchuk@gmail.com
GitHub Emoji Cheat Sheet - Img Shields - Choose an Open Source License - GitHub Pages - Animate.css - Loaders.css - Slick Carousel - Smooth Scroll - Sticky Kit - JVectorMap - Font Awesome