BaseMax / LaravelBlogAssignment

This project is an assignment for PHP and Laravel web framework. a basic blog with user authentication and CRUD functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Blog Assignment PHP Project

This project is an assignment for PHP and Laravel web framework. a basic blog with user authentication and CRUD functionality.

Requirements

  • PHP 7.4 or higher
  • Laravel 8.x
  • MySQL or MariaDB

Installation

Clone the repository to your local machine

git clone https://github.com/BaseMax/LaravelBlogAssignment.git

Navigate to the project directory

cd LaravelBlogAssignment

Install dependencies with Composer

composer install

Copy the .env.example file to .env

cp .env.example .env

Generate an application key

php artisan key:generate

Configure the database settings in the .env file:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_assignment
DB_USERNAME=root
DB_PASSWORD=

Run the migrations to create the necessary tables:

php artisan migrate

Start the built-in development server:

php artisan serve

Features

  • User authentication (register, login, and logout)
  • CRUD functionality for blog posts
  • Pagination for blog posts
  • Search functionality for blog posts
  • Admin panel to manage users and blog posts

Screenshots

Main page:

main

Log in page:

login

Register:

register

About page:

about

and a page for every Article:

article

Conclusion

This project provides a basic foundation for a Laravel web application with user authentication and CRUD functionality. It can be used as a starting point for building a more complex web application.

Copyright (c) 2023, Max Base, Ali Ahmadi

About

This project is an assignment for PHP and Laravel web framework. a basic blog with user authentication and CRUD functionality.

License:GNU General Public License v3.0


Languages

Language:PHP 62.8%Language:Blade 24.1%Language:HTML 12.6%Language:JavaScript 0.5%Language:CSS 0.0%