Skip to content

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

License

Notifications You must be signed in to change notification settings

BaseMax/LaravelBlogAssignment

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •