gugui3z24 / mean-stack-with-angular-2-tutorial Goto Github PK
View Code? Open in Web Editor NEWMEAN Stack Application Using Angular 2 Tutorial
Home Page: https://damp-bastion-39490.herokuapp.com/
MEAN Stack Application Using Angular 2 Tutorial
Home Page: https://damp-bastion-39490.herokuapp.com/
I have got issue with the token in getProfile. I try to lo the decoded from the jwt.verify: but i got the error that the toke is invalid, although as you did in youtube, I copy the token from logged in user
I followed your complete tutorial and when I pushed the code to Heroku it is showing **Blocked loading mixed active content “http://localhost:3000/articles” **. It is somehow still accessing localhost, even after domain all over is domain=" ".
and one more thing even though I am using build --prod it keeps showing enable production mode which by the way I also tried with writing enableProdMode in main.ts file.
On clicking like and dislike button, the user id is returning on console but the incrementation isn't working.
What the use of Lorem Ipsum and how to implement it.
registerUser(user) {
return this.http.post(this.domain + 'authentication/register', user).map(res => res.json());
}
// and others
i got some error in .map(res => res.json());
ERROR in src/app/services/auth.service.ts:22:74 - error TS2339: Property 'map' does not exist on type 'Observable'.
22 return this.http.post(this.domain +'/authentication/register',user ).map(res => res.json());
(https://user-images.githubusercontent.com/43374749/80504269-7bed9b80-89a5-11ea-8bd5-1e84d514b25b.png
error upon
$ng serve
is
src/app/services/auth.service.ts : error TS2339: Property 'map' does not exist on type 'Observable'
solution is
replacing line 3 in auth.service.ts
3 import 'rxjs/add/operator/map';
by
3 import { map } from 'rxjs/observable/';
This is related to an angular update (2 to 4 I believe)
I have followed your youtube.com video tutorials and did my project as I had seen in video but its not working for me and also attaching destination below,
https://github.com/UmeshYakkundi/MEAN-Stack-App.git
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.