Last active
March 20, 2019 09:06
-
-
Save notionquest/a9cb76dcad8f3abcab0d450a72e6b743 to your computer and use it in GitHub Desktop.
Progress Web Application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://material.angular.io/guide/schematics | |
ng add @angular/material | |
ng add @angular/cdk | |
cdk - component development kit | |
JWT:- | |
---- | |
Storing it in cookie Vs Local Storage .. | |
https://blog.angular-university.io/angular-jwt-authentication/ | |
https://stormpath.com/blog/where-to-store-your-jwts-cookies-vs-html5-web-storage | |
Stormpath recommends that you store your JWT in cookies for web applications, because of the additional security they provide, and the simplicity of protecting against CSRF with modern web frameworks. | |
JWT Sample:- | |
https://github.com/hantsy/springboot-jwt-sample/blob/master/src/main/java/com/example/demo/domain/User.java | |
Database:- | |
---------- | |
CREATE DATABASE mydb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
Open JDK 11:- | |
------------- | |
sudo mv jdk-11.0.2.jdk /Library/Java/JavaVirtualMachines/ | |
/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/bin/java -version | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment