Composer installed
PHP installed
XAMPP installed
- Download the project and paste into your local server files i.e C:\xampp\htdocs (for xampp users)
- Ensure you have Composer installed. Navigate to the project directory and run:
composer install
- Optional - Open the .env file and configure the following settings:
APP_NAME=Laravel APP_ENV=local APP_KEY=base64:... APP_DEBUG=true APP_URL=http://localhost
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
If there is no .env file, create a file and name it .env. Go to .env.example and copy the file into the .env you just created. - Required - Make sure to configure the following .env settings:
MAIL_MAILER=your_mailer #usually smtp or imap MAIL_HOST=your_mail_host MAIL_PORT=your_mail_port MAIL_USERNAME=your_mail_username MAIL_PASSWORD=your_mail_password MAIL_ENCRYPTION=your_mail_encryption MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}"
You can make use of mail servers such as Mailchimp or Mailtrap - Generate the application key, which is used for encryption:
php artisan key:generate
- If you originally set your database settings, migrate your database to set up the necessary tables:
php artisan migrate
- Start the Laravel development server:
Your application should now be running at http://localhost:8000.php artisan serve
During the development, i assumed that smooth scroll animation would be required for some elements
I ensures smooth scrolling with the appropriate javascript
One challange faced was in the MAP animation
I tried to overcome this challange to the best of my ability using the javascript GSAP plugin