This Project is made by using Laravel 5.3 framework. In this User can view numbers of Hotels List and Give comments.
Mail me : [email protected]
This is a Test Project containing migration and db:seeds for fake values also on for user table For Admin Access your mail : [email protected] & Password : 123456
- Download using git url or manually from the source.
- Place it on your local directory
- Now make a database (i am using mysql) in your phpmyadmin.
- Name your database what you want (by Default it is 'dbtest' with username 'root' and password= '').
- if you change your DB name then go to config\database.php and change it databse name and user with yours.
- After this open your cmd | and navigate your root folder where you install the project
- run the following commands | php artisan migrate | To install all migrations.
- Now run the seed command | php artisan db:seed | To install all seeds present in the migration.
- Now run the command | php artisan serve | and open your browser with url http://localhost:8000/
- Enjoy.
- User Table Structure
| id | name | email | password | remember_token | created_at | updated_at |
- hotels_info Table Structure
| id | hotel_name | hotel_contact | hotel_mail | hotel_address | hotel_image | hotel_enable | created_at | updated_at |
- hotels_comments Table Structure
| id | hotel_id | comment | user_id | created_at | updated_at|