Agrihub Client; code with Angular2 and ❤
- Full SPA (Single Page Application).
- Authenticated Using JWT (JSON Web Token).
- User credentials and token store on browser cookie (raw).
- Access control per page, thanks to my own AuthenticateService and AuthenticateComponent class.
- Using Bootstrap Component UI, thanks to ng-bootsrap.
- Storing raw data on browser cookie is very risk, inseccure, and bad-practice...
- Install NodeJS
- Install NPM
- Clone Repository
$ git clone https://github.com/OckiFals/angular2-agri-hub.git
- Change directory
$ cd angular2-agri-hub
- Install Dependencies (Angular2, TypeScript, RxJS, etc.)
$ npm install
- Serve...
$ npm start