Skip to content

JDCxDEV/admin-dashboard-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

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:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, Laracasts can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Partners program.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

Admin Dashboard Boilerplate

Overview

This project is an Admin Dashboard Boilerplate built with:

  • Laravel: As the backend framework for handling business logic, database operations, and API endpoints.
  • React: For building a dynamic and responsive user interface.
  • Next.js: To enable server-side rendering and improved performance for React-based applications.
  • Tailwind CSS: For creating sleek and modern UI components with a utility-first CSS framework.

This boilerplate is designed to streamline the development of admin panels, providing essential core functionalities out of the box.


Features

  • User Authentication:
    • Login, registration, and password recovery.
    • Role-based access control.
  • API Integration:
    • Laravel-powered RESTful APIs for efficient communication between frontend and backend.
  • Responsive Design:
    • Fully responsive UI with Tailwind CSS for seamless display across devices.
  • Reusable Components:
    • Pre-built React components for common admin functionalities (e.g., tables, forms, modals).
  • Server-side Rendering:
    • Enhanced SEO and performance using Next.js SSR.
  • Database Integration:
    • Eloquent ORM for database operations.

Prerequisites

Ensure the following tools are installed on your local machine:

  1. Node.js (version 18 or higher)
  2. NPM (Node Package Manager) or Yarn
  3. PHP (version 8.0 or higher)
  4. Composer
  5. MySQL or any other database of your choice
  6. Laravel Installer

Installation

Follow these steps to set up and run the project locally:

Step 1: Clone the Repository

git clone <repository-url>
cd admin-dashboard-boilerplate

Step 2: Backend Setup

  1. Navigate to the Laravel backend directory:
    cd backend
  2. Install Laravel dependencies:
    composer install
  3. Create a .env file by copying the example:
    cp .env.example .env
  4. Update the .env file with your database and other environment configurations.
  5. Generate the application key:
    php artisan key:generate
  6. Run migrations to set up the database:
    php artisan migrate
  7. Start the Laravel server:
    php artisan serve

Step 3: Frontend Setup

  1. Navigate to the React/Next.js frontend directory:
    cd frontend
  2. Install frontend dependencies:
    npm install
    # or
    yarn install
  3. Start the development server:
    npm run dev
    # or
    yarn dev

Project Structure

Backend (Laravel)

backend/
├── app/
├── bootstrap/
├── config/
├── database/
├── public/
├── resources/
├── routes/
├── storage/
└── tests/

Frontend (React + Next.js)

frontend/
├── components/
├── pages/
├── public/
├── styles/
├── utils/
└── tailwind.config.js

Scripts

Backend (Laravel)

  • Start Laravel Server:
    php artisan serve
  • Run Tests:
    php artisan test

Frontend (React + Next.js)

  • Start Development Server:
    npm run dev
  • Build for Production:
    npm run build
  • Run Production Server:
    npm start

Contributing

Contributions are welcome! To contribute:

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

License

This project is licensed under the MIT License. See the LICENSE file for details.


Acknowledgments

About

Admin dashboard for a Laravel SPA with core functionalities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published