Giter Club home page Giter Club logo

movie-box-with-laravel-vuejs's Introduction

Circle CI Test

CircleCI

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

License

This software is open-sourced software and licensed under the MIT license.

movie-box-with-laravel-vuejs's People

Contributors

dependabot[bot] avatar monamoxie avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

qin-folks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.