/connetapp

Primary LanguagePHPMIT LicenseMIT

connetapp

How to set up and run the project locally

Prerequisites

Composer installed

PHP installed

XAMPP installed

  1. Download the project and paste into your local server files i.e C:\xampp\htdocs (for xampp users)
  2. Ensure you have Composer installed. Navigate to the project directory and run:

    composer install
  3. 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.
  4. 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
  5. Generate the application key, which is used for encryption:

    php artisan key:generate
  6. If you originally set your database settings, migrate your database to set up the necessary tables:

    php artisan migrate
  7. Start the Laravel development server:

    php artisan serve
    Your application should now be running at http://localhost:8000.

Assumptions or decisions made during the development

Assumptions

During the development, i assumed that smooth scroll animation would be required for some elements

Decisions

I ensures smooth scrolling with the appropriate javascript

Challanges faced and how they were overcome

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