Skip to content

[Lighthouse Labs] Photo sharing app built in React

Notifications You must be signed in to change notification settings

suefrontend/photolabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Photolabs

PhotoLabs is a React-based single-page application (SPA) that allows users to view photos in different contexts.

Screenshots

"Photo list"

"Modal window"

Setup

Install dependencies with npm install in each respective /frontend and /backend.

[Frontend] Running Webpack Development Server

cd frontend
npm start

[Backend] Running Backend Servier

cd backend
npm start

Database setup for backend

  1. Create a database with the command CREATE DATABASE photolabs_development;.

  2. Copy the .env.example file to .env.development and fill in the necessary PostgreSQL configuration.

  3. Run a the development server with npm start

  4. Use the browser to navigate to http://localhost:8001/api/debug/reset

  5. Run The Server

npm start

The development data is random. Each time we seed we expect to see different appointments.

Dependencies

Built with the following dependencies:

  • React
  • Express
  • Sass
  • axios

About

[Lighthouse Labs] Photo sharing app built in React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.8%
  • SCSS 12.3%
  • HTML 4.8%
  • CSS 1.1%