Skip to content

This is skeleton of Angular2 + Lumen API project, using JWT authorization and CRUD operation

Notifications You must be signed in to change notification settings

arangde/angular2-lumen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Angular2-Lumen

This is example of Angular2, Laravel/Lumen, Authentication with JWT.

Install Server

Requirements

  • Lumen
  • Composer
  • MySQL server (should import db from ./api/dbimport.sql)

Install

$ cd api
$ composer install

Setup & Run

Update contens in .env

$ php -S localhost:8000 -t public

It will run Laravel/Lumen API server on localhost:8000

Install Client & Run

$ 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

About

This is skeleton of Angular2 + Lumen API project, using JWT authorization and CRUD operation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published