Skip to content

Video app. When a video is clicked from the list, displays a featured video and its associated comments and data. Persistent data stored in a JSON backend server file. API routing used to control the video displays and functionality.

Notifications You must be signed in to change notification settings

GillianTrethewey/Brain-Flix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

BrainFlix

Overview

The BrainFlix React app renders a featured video from a list of videos using urls from an external website. The associated details and comments for the featured video are also rendered.

In addition, a new video with its data can be added to the list. The video data is accessed via an api call to the backend Express server.

The Express server includes routes to get all of the videos from the list, the hero video using a specific video id, and a post request which allows users to add new videos to the list.

Data is persistently stored in a JSON file. CORS requirements are handled with middleware. The app is currently locally deployed.

Dependencies

Client

React React Router SASS JavaScript

Server

Node Express.js

Local Deployment

  1. Ensure you have the dependencies installed.
  2. Navigate to the frontend root directory in terminal.
  3. Install the node modules in the frontend.
npm install
  1. Start the server.
npm run start
  1. Navigate to http://localhost:3000 in your browser.

Start the Server

  1. Navigate to the root directory of the backend in terminal.
  2. Install the node modules in the backend.
npm install
  1. Start the server using the terminal.
node index.js
  1. Navigate to http://localhost:8080 in your browser.

About

Video app. When a video is clicked from the list, displays a featured video and its associated comments and data. Persistent data stored in a JSON backend server file. API routing used to control the video displays and functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published