MEAN Stack Tutorial with Angular 2 - Part 1: Setup Server

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

You have the best tutorial on for MEAN stack on Youtube. Stuff one needs to know to make production ready apps

u
Автор

Awesome! I had been loooking this kind of video for a long time. Thank you David you have done a great job!

thisisinteresting
Автор

Excellent video with clear explanations and goes over quite a lot, though a few things may be outdated.

Zydico
Автор

Hi David!, just wanted to remark that your channel is full of amazing and Thank you for it.

nocturno
Автор

An excellent tutorial to get started with the MEAN stack. Thank you!

marmaladesamwich
Автор

awesome presentation and going all details with good explanation

chandranallari
Автор

ty so much, I really like your tutorials, and you explain things pretty well

ibrahimmaouhoubi
Автор

finally, I find a ***Perfect Tutorial***, THANKS

nnnnnnnnn
Автор

This is a freakin awesome tutorial! Best part is, its FREE!!! Thank you, David!

niccubagonoc
Автор

Fantastic tutorial. very good explained smooth talking and relaxed :) awesome!

iliyuskeisar
Автор

great tutorial

when adding db connection in the index.js ... i usually opt for the below:
mongoose.connect(config.uri, function(err, response){
if(err)console.log("There was an error in trying to connect to mongodb");
console.log("Connection to mongodb was successful");

});

jackiebobbinne
Автор

Gud work David,
From the intro, will you be able create post which contains images or videos!?

raymondmichael
Автор

Great tutorial! As Nikola Simović said, it would be a best practice to add a .gitignore file at the root of the application, with the following content:

node_modules/

Into .gitignore you can also add (mention) other files you don't want to push to github, like the editor settings file or any other file which may be generated on your project.

sorincozma
Автор

When I load my app, my mongodb config "database.js" does not seem to want to set the uri correctly, because when I log out my DB connection it says:
"Connected to MongoDB database -> - which means my db property in the the uri is undefined..

// database.js
const crypto =

module.exports = {
uri: 'mongodb://localhost:27017/' + this.db,
secrect: crypto,
db: 'BlogSite'
};

// app.js (equiv to index.js here)
const config = require('./config/database');



/**
* Mongoose connection to db + error handling
*/
mongoose.Promise = global.Promise;
mongoose.connect(config.uri, {
useMongoClient: true,
});

mongoose.connection.on('connected', function () {
console.log('Connected to MongoDB database -> ' + config.uri);
});

mongoose.connection.on('error', function (err) {
console.log('Mongoose connection error >' + err);
});

mongoose.connection.on('disconnected', function () {
console.log('Mongoose connection disconnected....');
});

Can anyone see why this is?

incrediblepony
Автор

For a more social media focused site would you recommend the mean stack approach or something like meteor or laravel?

AMC-throwaway
Автор

Hello David,
I downloaded Angular using the command line arguments like you did, however, it says that I have version 4 and not 2. I am afraid that I might run into errors when coding along. Any advice on how to switch to 2. I am trying Google, but I cannot find a clear answer. Thank you!

davidvaldez
Автор

This was really helpful! Appreciate it!
Is it possible to remove the e2e related files like e2e folder, protractor, karma, etc?

mrivesingh
Автор

Sir, what angular version were you using when you created this?

abdullahnaseer
Автор

great tutorial! I've tried lot of MEAN tutorials but this is far better and simple to understand! Anyway, I'm just curious that is it not necessary to use Controllers ? rather than writing the login in the route itself ?

TharinduLakshithasusl
Автор

How u can use ES6 without babel? I can't understand.

dystopiaDreamer