This is a starter template/project for an admin dashboard with built-in user authentication.
Table of Contents
Login | Register | Landing Page |
---|---|---|
![]() |
![]() |
![]() |
Dashboard | Manage User | Profile Page |
---|---|---|
![]() |
![]() |
![]() |
- Integrations Argon Dashboard 2 HTML template to ReactJs
- Multiple layout (Guest, Base, Auth)
- Authentication
- Sign in
- Register
- Google Sign in
- User Management
- Profile
- Activity Log
- Roles and Permissions
See the open issues for a full list of proposed features (and known issues).
Get a local copy (clone the repo)
install Composer & NodeJs
-
Clone the repo
git clone https://github.com/jbratcher/laravel9-inertiajs-reactjs-starter.git
-
Install dependency Laravel
composer install
-
Install NPM packages
npm install npm run dev
-
Run
php artisan key:generate
-
Copy
.env.example
to.env
cp .env.example .env
-
Add your database table information
DB_DATABASE=yourdatabase_name DB_USERNAME=your_username DB_PASSWORD=your_password
-
Run migration & Seeder
php artisan migrate --seed
-
Add your Google Oauth credentials | Guide
GOOGLE_CLIENT_ID='your_client_id' GOOGLE_CLIENT_SECRET='your_client_secret' GOOGLE_REDIRECT='your_callback_url'
- run server-side (Laravel)
php artisan serve
- See webpack.min js
mix.browserSync('your_url.test'); //if using Laravel Valet mix.browserSync('127.0.0.1:8000'); //if using artisan serve
- run client-side (ReactJs)
npm run hot
- Default login credentials (database\factories\UserFactory.php)
email: admin@example.com password: 12345
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
This project is an extention of the work of agungksidik