Skip to content

Files

Latest commit

ecc0513 · Jul 12, 2024

History

History
108 lines (63 loc) · 2.45 KB

File metadata and controls

108 lines (63 loc) · 2.45 KB

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Authentication with CRUD Operation

Welcome to the Authentication with CRUD Operation project! This project demonstrates a Laravel application that includes user authentication and CRUD (Create, Read, Update, Delete) operations.

Table of Contents

Features

  • User registration and login
  • Password reset functionality
  • CRUD operations for managing resources
  • User-friendly error handling and validation

Prerequisites

Before you begin, ensure you have met the following requirements:

  • PHP >= 7.4
  • Composer
  • Laravel 11.x
  • MySQL

Installation

Follow these steps to install and set up the project:

  1. Clone the repository:

    bash git clone https://github.com/your-username/authentication-with-crud.git cd authentication-with-crud

  2. Install dependencies:

    bash composer install npm install npm run dev

  3. Copy the .env.example file to .env and configure your environment variables:

    bash cp .env.example .env

  4. Generate an application key:

    bash php artisan key:generate

  5. Run database migrations:

    bash php artisan migrate

  6. Seed the database (optional):

    bash php artisan db:seed

  7. Start the local development server:

    bash php artisan serve

    Your application should now be running on http://localhost:8000.

Usage

Authentication

  • Register: Navigate to /account/register to create a new account.
  • Login: Navigate to /account/login to log in with your credentials.
  • Logout: Click the logout link in the navigation bar.

CRUD Operations

After logging in, you can perform CRUD operations on the resources provided by the application.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature-name).
  5. Open a pull request.