Matt Yu's completed PhotoLabs project as part of the React module.
Photolabs is the perfect application for folks looking to show off their photography skills and display their work. PhotoLabs allows users to explore a variety of different photos, having the ability to scroll and sort through different topic categories as well. Photolabs also provides users with the ability to heart any photos that they like. When they do, the heart outline will fill red.
When users log into Photolabs, they are presented with a homepage full of intriguing and interesting photos. The photographer's name along with their location and country can also be found below each image.
For users that want a closer look at an image, they are able to click on it, where an expanded view of the image will be populated in the modal pop-up window.
If users scroll below the enlarged modal view, a variety of similar photos can be found.
Users also have the ability to filter and toggle through various photo topics.
Users also have the ability to like photos. Users can do this in both the modal view, and while on the home page. Users can also like the similar photos that appear in the modal view.
Install dependencies with npm install
in each respective /frontend
and /backend
folder.
- React: ^18.2.0
- React-dom: ^18.2.0
- React-scripts: ^5.0.1
- @testing-library/jest-dom: ^5.16.5
- @testing-library/react: ^13.4.0
- @testing-library/user-event: ^13.5.0
- Web-vitals: ^2.1.4
- Body-parser: ^1.18.3
- Cors: ^2.8.5
- Dotenv: ^7.0.0
- Express: ^4.16.4
- Helmet: ^3.18.0
- pg: ^8.5.0
- Socket.io: ^2.2.0
- ws: ^7.0.0
cd frontend
npm start
Please ensure that the backend database and server are running before running npm start
in the frontend repository.
Read backend/readme
for further setup details.
cd backend
npm start