const getFavoritedArtists = (user) => new Promise((resolve, reject) => { Promise.all([getAllArtists(), getAllFavorites(user)]) .then(([artists, favorites]) => { const favsArray = artists.filter((artist) => favorites.find((favorite) => favorite.artistId === artist.firebaseKey)); resolve(favsArray); }).catch((error) => reject(error)); });
- The ideal user for this application is someone who is interested in getting tattoos or find a new artist
- Finding a new tattoo artist is still relatively hard. You cant easily just google artist as sooo many dont have their own website.
- This app makes it so much easier and allows you to search by lots of different criteria like gender and sexuality. Then you can favorite them and come back your read to get that epic sleeve you've always wanted.
- Anyone can search by name, location, gender, etc. As an authenticated user you can also favorite artists and see them all in one place. An admin can add, edit and delete artists.
- House Colors: The color of the student's card changes depending on which house they were sorted.