Skip to content

Simple LARAVEL 9 project with authentication, posts and comments functionality

Notifications You must be signed in to change notification settings

deva7mad/simple-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0476319 · May 10, 2023

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Laravel Blog

Post, Comment and Authentication

Requirements

Laravel php MySql NodeJs NPM

Installation steps

1. Clone the repository

git clone https://github.com/deva7mad/simple-blog.git

2. Configure the database connection

cd simple-blog/

composer install

cp .env.example .env

php artisan key:generate

Then Add your database config to .env

3. Running Migration

php artisan migrate --seed

This will seed the database with 30 posts and for each post 5 comments each comment associated with a user.

4. Storage Link

php artisan storage:link

5. Run the app

npm install && npm run dev
OR
npm install && npm run build

php artisan serve

You can access dashboard with any generated user email and password will be (password)

6. Test the app with (UnitTest)

php artisan test --coverage

7. Generate a dashboard to monitor test coverage

vendor/bin/phpunit --coverage-html reports/

Make sure to enable XDEBUG

About

Simple LARAVEL 9 project with authentication, posts and comments functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages