Skip to content

React SPA for viewing and liking photos, viewing similar photos, and viewing photos by category 📸

Notifications You must be signed in to change notification settings

rebeccaariss/photolabs-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoLabs

Welcome to PhotoLabs!

PhotoLabs is a single-page application (SPA) built with ⚛️ React ⚛️ as a part of my studies with Lighthouse Labs.

  • Photos, topics, and user data are stored in a PostgreSQL database.
  • The API server runs on Node via Express.js
  • Requests are made to the API over HTTP in JSON format

Preview

Demo: Overview of Features

"App navigation demo: photos, topics, likes"

Features

  • Users can like a photo by clicking the ❤️ icon. A notification will be displayed to indicate that the user has liked photos.
  • Each photo can be clicked to open up an expanded/modal view which displays similar photos along with the enlarged photo
  • Users can choose from five different topic categories in the navigation bar to update the photos displayed on the main page

Setup

Install dependencies with npm install in each respective /frontend and /backend. This application requires that you run two servers at once: one for the front-end, one for the back-end (more on running the servers below).

[Front-end] Running Webpack Development Server

cd frontend
npm start

[Back-end] Running Backend Servier

Read backend/readme for further setup details.

cd backend
npm start

About

React SPA for viewing and liking photos, viewing similar photos, and viewing photos by category 📸

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.4%
  • SCSS 13.5%
  • HTML 2.9%
  • CSS 1.2%