This application will take feedbacks from users and display about different products
This application is only to demonstrate Terraform infrastructure automation and application deployment.
- User Registration
- User Login
- This application get Name of user, a Name of a product and the feedback description and save them to a Database
- Display feedbacks submitted by users
- Laravel framework for application
- PHP
- MySQL for the Database
- AWS Beanstalk for deploying application
- Terraform to automate Infrastructure provisioning
This sections will explains how this projects is setup on your local machine and start development
First You have to fullfill following prerequisits
- Install PHP, Apache and MySQL.
- For MacOS Catelinafollow this guide (https://jasonmccreary.me/articles/install-apache-php-mysql-mac-os-x-catalina/)
- For Ubuntu 18.04 follow this guide (https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04)
- For Windows Install XAMPP from this link (https://www.apachefriends.org/index.html)
Project Setup Guide
- Clone the Repository
- Create a Database in MySQL
- Open Project with a prefered Code Editor
- Edit the .env file. If this file is hidden unhide files from your system preferences.
- Add values for following attribute in .env file according to the DB you have created
DB_DATABASE
DB_USERNAME
DB_PASSWORD
- Naviate to the repository using the prefered commandline tool. Then execute following commands
- To Create the Tables required run
php artisan migrate
- To Start the development server run
php artisan serve
- To Create the Tables required run
- Open your prefered browser and navigate to localhost:8000
- Application should appear on the browser now