It's an application, where you can see the list of films and can create your own film.
PHP v7.1+
Composer
Laravel
MySql
Database(XAMPP would be best)
- Install Laravel by using this command.
composer global require "laravel/installer"
. - Clone this repository by using command
git clone https://github.com/abinasp/codelinefilm.git
. - Run
composer install
. It will install all the dependencies which is present incomposer.json
file. - Set up
.env
file by copying all the value from.env.example
file. - Configure
MySql
database in your.env
file. - I had created my own database in phpmyadmin which was
codeline_db
. You can create your own database. - Run
php artisan migrate:refresh --seed
. It will create tables and will put some data in the tables. - Run
php artisan serve
in terminal. - Open
localhost:8000
in the browser.
- After migration you can login by using the below credentials Or you can create a new user.
username
:[email protected]
password
:asdf@123
- In borowser it will show list of films.
- You can Register or Login by clicking register button in the header.
- To create film you have to login or register first.
- You can go to any particular film by clicking on there respective image or there name.
- In Film details page you will be able to see the Film details.
- At the end you can comment. To give comment you need to login.
- After giving comment, you can see your comment by refreshing the browser.
- While creating a film you can't upload photo, you need to give the photo URL.