Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monamoxie/movie-box-with-laravel-vuejs
A simple Laravel/VueJs web app for movie showcase, review, ratings and discussions.
https://github.com/monamoxie/movie-box-with-laravel-vuejs
axios-rest circleci javascript laravel php7 phpunit-tests twitter-bootstrap vuejs
Last synced: about 1 month ago
JSON representation
A simple Laravel/VueJs web app for movie showcase, review, ratings and discussions.
- Host: GitHub
- URL: https://github.com/monamoxie/movie-box-with-laravel-vuejs
- Owner: Monamoxie
- Created: 2020-02-19T11:38:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T10:36:55.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T11:51:56.649Z (almost 2 years ago)
- Topics: axios-rest, circleci, javascript, laravel, php7, phpunit-tests, twitter-bootstrap, vuejs
- Language: PHP
- Homepage:
- Size: 16.9 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Circle CI Test
[![CircleCI](https://circleci.com/gh/Monamoxie/movie-box-with-laravel-vuejs.svg?style=svg)](https://circleci.com/gh/Monamoxie/movie-box-with-laravel-vuejs)## Technology Stack and Tools
- Laravel
- Vue JS
- MySQL
- Twitter Bootsrap
- Axios HTTP Client
- PHPUnit
- Circle CI## Features
- Pagination
- Login/Register System
- Movie Rating
-
## Set up Instruction
- Clone the repo
- CD into the directory you just cloned and type *touch .env* to create a new .env file
- After that, copy all contents within the .env.example file into the newly created .env file and save
- Install composer by running *composer install*
- After that, Run
*php artisan key:generate* to generate a new key for development purposes.
- Open PHPMyAdmin or whichever tool you use and create a new mysql database
- Open .env file and add the settings for the database in the appropriate section
- To avoid issues due to cache, you can run *php artisan cache:clear* and *php artisab config:clear* to clear off any cached files.
- Run database migrations with *php artisan migrate*
- Install Laravel passport by running *php artisan passport:install*
- Run the database seeder with *php artisan db:seed*
## Please Note:
- Instead of using the default faker Image class to generate images, I used a custom class I created. The server generating the images for Faker is sometimes down or very slow. Faker by default uses http://lorempixel.com/ for fetching images on the fly. I am generating mine from https://picsum.photos. It's sharper and faster.
- I injected the implementation into a Helper Class called Utility and referenced it whenever I need to generate a new image. You may decide to abstract it or use it as a trait if you wish.
- If everything works fine, then run *php artisan serve*
- Copy the url and visit it on your web browser.
## Credit
- Pexels.com -Stock photos
- Pixabay.com -Stock photos## PHP Unit Test
## LicenseThis software is open-sourced software and licensed under the [MIT license](https://opensource.org/licenses/MIT).