PetBasket is a web application designed to help match users with their ideal pet! It's free to join, and users may search for pets in their area that are available for adoption based on type (dog or cat), age, and gender. It also features a Classifieds/Listings feature where shelters, organizations or individuals can upload a photo and information of pet(s) they have available for adoption.
-
- Primary team role: Backend Routing
- Contributions: Registration/Login Authentication,Database
- Key code portions: User Authentication, Search, Favorites
-
- Primary team role: Backend Routing, UX
- Contributions: Flow Chart, WireFrame, Database, Account Management, Gif Creator
- Key code portions: Profile, Navbar(s), Classified Listings
-
- Primary team role: Socket Expert
- Contributions: Socket.io
- Key code portions: Chat
-
- Primary team role: "#26a69a Enthusiast"
- Contributions: technical writing, styling, branding
- Key code portions: README.md, layout design, CSS/HTML
- EJS View Engine
- Materialize CSS
- JavaScript
- jQuery
- Node.js/Express.js
- Auth0
- MySQL
- Socket.io
- RescueGroups
- Custom Database
- User can register, log in, and search for pets that are available for adoption.
- Users can upload information and photo(s) of pets available for adoption.
router.all("/*", (req,res,next)=>{
if(req.session.uid == undefined){
console.log("you are not loggedin");
next();
}else if(req.session.uid != undefined){
console.log("YOU ARE LOGGEDIN");
res.locals.firstNameTest = req.session.fname;
res.locals.lastNameTest = req.session.lname;
res.locals.emailTest = req.session.email;
res.locals.profileimgTest = req.session.profileimg;
res.locals.uidTest = req.session.uid;
res.locals.phoneTest = req.session.phone
next();
}
});
- Allow users to search by pet microchip, vaccination, and temperament status
- Combine both uploads table and pets table in our own database
- Auto update our database from RescueGroups
- Refactor our code to make use of functions correctly
- Need to loop through upload to get pictures
