Built with:
- Sign Up
- Sign In
- Users CRUD
- 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