njugunamwangi / laravel-react-fullstack

A simple reactjs + laravel fullstack application with users crud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About Project

Built with:

Functionality

  • Sign Up
  • Sign In
  • Users CRUD

Application

  • Pagination users.png
  • Toast message for success, warning and error

Installation

  • Clone the repository
git clone https://github.com/njugunamwangi/laravel-react-fullstack.git
  • On the root of the directory, copy and paste .env.example onto .env and configure the database accordingly
  • Install composer dependancies bu running composer install
composer install
  • Install npm dependacies
npm install
  • Navigate to the admin folder
cd admin 
  • In the admin folder, copy and paste .env.example onto .env
  • Install npm dependacies
npm install
  • Navigate back to the root directory of the folder then migrate the database
php artisan migrate
  • Generate laravel application key using (on the root directory)
php artisan key:generate
  • Run laravel application using (root directory)
php artisan serve
  • Run react application using (admin directory)
npm run dev

Navigate to http://localhost:3000 for the react app. Enjoy

License

MIT

About

A simple reactjs + laravel fullstack application with users crud


Languages

Language:PHP 46.4%Language:Blade 28.1%Language:JavaScript 25.3%Language:HTML 0.2%Language:CSS 0.0%