Skip to content
jemzlee edited this page Apr 4, 2017 · 12 revisions

Main Page

This is the main page.

  1. Navi Bar: Navigate through other pages (Log In, Register, About)
  2. Display: Simply Weird videos!
  3. Next Button: Skip to next weird video

Register/Log In

This page is for users to register/log in their own account.

  1. Username: Enter your username
  2. password: Enter your password

Admin

This page is for admins to use.

  1. Search Bars: You can add a video by typing video id into the first search bar and delete a video from database by typing video id into the second search bar.
  2. Admin table: A table that displays information about each video (view, id, thumbnail, title etc....)
  3. Navi Bar: Navigate through other pages

History

This page is for users to view their history.

  1. Admin table: A table that displays information about viewed videos (date, id, thumbnail, title etc....)
  2. Navi Bar: Navigate through other pages

About us

This page is about the WSOYT team.

  • Simply about us page

Running Server Locally

This page is about running the server locally

  1. Clone this Repository.
  2. Install MongoDB and nodeJS
  3. Create a new folder ( C:\data\db )
  4. Start MongoDB server in command prompt. Enter " C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe "
  5. Open node.js command line and get into cloned repository. (ex. cd documents\wysot)
  6. Once in the correct folder, type 'npm install' to install all dependencies
  7. Type in command line 'node app.js'
  8. If it doesn't work, try adding a video or two using add_video.js file in tools folder. (Trying to fix issue of server not working when there are no videos in the database on start.)
Clone this wiki locally