Vidstream is a project created for our Computer Engineering class Computerized System Information in Interamerican University Bayamon Campus. It's function is to simulate Netflix's user, staff, admins, and movie content's database. It does NOT have implemented any playback functionality. No copyright was intended in the making of this project, it's purely educational.
- PHP 7.0
- Laravel 5.0
- AMPPS (This includes PHP 7.0)
- Composer
- Internet Connection (CSS Libraries are loaded through the internet)
- SQLite
- Installation
- AMPPS SETUP
- Running APACHE
- SQLite Setup
- Composer RUN
- Logging in for Testing
- Getting Movie Information
- Install AMPPS (This includes PHP 7.0)
- Install Composer
-Note: Installing Composer will ask you for a PHP installation file, you will have to find PHP 7.0 under AMPPS's instalation files. - Install Laravel using Composer with the following command in your terminal window: composer global require "laravel/installer"
- Now unzip Vidstream's file, browse to "www" inside AMPPS's file.
- Name the file Vidstream.tv
- Add Vidstream.tv to the host file.
- Add the domain in AMPPS configuration page.
- Inside AMPPS theres a house simbol, clicking it will redirect you to the local homepage of ampps.
- Once inside "http://localhost/ampps/" you should be able to see a button labeled "Add Domain" with a globe icon and a plus sign.
- A form to fill domain information will be shown.
- Use "vidstream.tv" as domain.
- The domain path should be generated when writing the domain as ".../Ampps/www/vidstream.tv".
- At the end of the domain path you should add a "/public" and the final result should be /Ampps/www/vidstream.tv/public" since in that path is where we will be working on.
- In AMPPS you should see a Start button below the apache logo, if the server doesn't start right away click it to start it.
- Starting the Apache server enable us to now go to a browser and write "vidstream.tv" in the address bar and should redirect you to the login page of VIDSTREAM.
- You can download SQLite Studio here http://sqlitestudio.pl/?act=download.
- Follow the setup instructions and install it.
- If you have installed composer in your computer you should be able to open a command prompt aiming to "/vidstream.tv" and run the command 'composer install' and then 'composer update' everything should run fine.
- The framework let us create a seed so that we dont have to create an account everytime we rolled back our database.
- It has the following properties: email: luis@luis password: luis
- This account has an account level of 1 'Free User'
- To add a specific movie you need to go to "http://vidstream.tv/api/v1/getinfo".
- There should be an input box and two buttons.
- In the input box you need to write a title of a movie THE EXACT TITLE OF THE MOVIE in order to save it to Database.
- A message will be prompted that each movie property has been saved and the movie stored successfully.