This is example of Angular2, Laravel/Lumen, Authentication with JWT.
- Lumen
- Composer
- MySQL server (should import db from ./api/dbimport.sql)
$ cd api
$ composer install
Update contens in .env
$ php -S localhost:8000 -t public
It will run Laravel/Lumen API server on localhost:8000
$ cd ng2
$ npm install
$ npm start
It will run Angular2 lite-server on localhost:3000.
It also requires API server on localhost:8000, you can change API url in _services/api.services.ts