This is a simple PHP+Lumen+JWT API with React Front end project.
Clone repo:
git clone https://github.com/TiagoGouvea/php-lumen-react-login
First you copy .envSample to .env and check all "DB_" values.
After that you can migrate database, and seed with some sample data:
cd backend
php artisan migrate
php artisan db:seed
Check the users table to see fake users. All of then will have "tiago" password.
On backend folder start your php:
php -S localhost:8000 -t public
Enter on frontend folder and install packages.
cd frontend
npm install
On frontend folder run:
npm start
Open your browser on http://localhost:3000/dashboard to use it.
- Tests
- Use of redux or advanced state managment
- Setup docker