Skip to content

Admin dashboard on the web and RESTful API for consumers in Laravel 8 [Jetstream, Livewire, Sanctum, and Tailwind].

License

Notifications You must be signed in to change notification settings

silvamuthui/laravel-news

 
 

Repository files navigation

Laravel News API with Admin Panel

Laravel 8 Admin Panel with API using Jetstream, Livewire, Sanctum, and Tailwind.

  1. git clone https://github.com/mdutt247/laravel-news.git
  2. cd laravel-news
  3. composer install
  4. Rename or copy .env.example file to .env
  5. php artisan key:generate
  6. Set your database credentials in .env file
  7. php artisan migrate:fresh --seed
  8. npm install
  9. npm run dev
  10. php artisan serve
  11. Visit localhost:8000/login in your browser
  12. Choose one email id from users table. Password is password.

Screenshots

Response from API to be consumed by mobile apps etc. api response

Admin Dashboard - Category Managment Page category managment page

Admin Dashboard - Create Category create category

Admin Dashboard - Edit Category edit category

Admin Dashboard - Post Managment Page post managment page

Admin Dashboard - Create Post create post

Admin Dashboard - Edit Post edit post

Code explanation

All tutorial links

Part 1: Create Migration, Model, and Factory to start with the project

Part 2: Establish Relationships

Part 3: API Resources, API Controllers, and API Routes

Part 4: Front End for Admin Dashboard on Web inteface

Do check Laravel Documentation if you have any doubt.

Twitter: kotagin E-mail: [email protected]

About

Admin dashboard on the web and RESTful API for consumers in Laravel 8 [Jetstream, Livewire, Sanctum, and Tailwind].

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 60.5%
  • Blade 39.2%
  • Shell 0.3%