Code Monkey home page Code Monkey logo

iqbalhasandev / laravel-simple-authentication-assignment Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 18.64 MB

This assessment evaluates your comprehension of PHP design principles and their practical application within the Laravel framework. The tasks are structured across three levels, each progressively building upon the knowledge and skills demonstrated in the preceding one.

Home Page: https://basic-auth.iqbalhasan.dev

PHP 14.09% CSS 60.13% JavaScript 7.33% Blade 18.45%
laravel-authentication laravel-framework

laravel-simple-authentication-assignment's Introduction

About the Assessment

This assessment evaluates your comprehension of PHP design principles and their practical application within the Laravel framework. The tasks are structured across three levels, each progressively building upon the knowledge and skills demonstrated in the preceding one.

The key features of this project include:

  • Authentication: Utilizing Laravel's built-in authentication system.
  • Login Feature: The project exclusively focuses on the login functionality, with registration and other features not included in this assessment.
  • User Management: Post-login, user management encompasses operations such as creating, reading, updating, deleting, trashing, and restoring user records.
  • Profile Updates: Limited implementation of profile update functionality.

The project utilizes the latest version of Laravel (v11.x).

Requirements

To work with this project, ensure the following prerequisites are met:

  • Minimum PHP Version: PHP 8.2 or higher.
  • Composer: Dependency management for PHP.
  • Database: Supports various database systems such as MySQL, SQLite, MariaDB, PostgreSQL, etc.
  • Git: Version control system for tracking changes in the project.

Installation Process

Step 1: Clone This app

Clone the project repository by running the following command in your terminal:

git clone https://github.com/iqbalhasandev/laravel-simple-authentication-assignment.git

Step 2: Go To project directory and composer install

Navigate into the project directory:

cd laravel-simple-authentication-assignment

Copy the .env.example file to .env:

cp .env.example .env

Then, install Composer dependencies:

composer install

Step 3: Configure Environment Variables

Open the .env file and configure the following variables:

APP_URL=http://127.0.0.1:8000/
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

Replace the values according to your local environment settings, such as the database connection details.

Step 4: Publish Storage

Publish the storage using the following command:

php artisan storage:link

Step 5: Generate Application Key

Generate the application key by running:

php artisan key:generate

Step 6: Run Migration and Seeder

To set up the database schema and seed it with default data, execute the migration and seeding commands:

php artisan migrate --seed

This command will run all outstanding migrations and seed the database with default data. In this case, it will create a default user with the following credentials:

You can use these credentials to log in and explore the application.

Step 7: Run Tests

Execute the test suite to ensure everything is set up correctly:

php artisan test

Step 8: Serve the Application

Finally, serve the application using the following command:

 php artisan serve

Additional Notes

If you encounter any permission-related errors during the installation process, you can recursively adjust the permissions of the storage and bootstrap directories using the following command:

chmod -R 755 storage bootstrap

Contact Information

For further assistance or inquiries, you can reach out to:

Thank you for visiting!

laravel-simple-authentication-assignment's People

Contributors

iqbalhasandev avatar

Watchers

 avatar  avatar

Forkers

vhedin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.