A Todo MEAN App - MongoDB, Expressjs, Angularjs and Nodejs
- Download/clone the repo
- Run
npm install
- Run
gulp
and navigate tohttp://localhost:3000
to view the app
A Todo MEAN App - MongoDB, Expressjs, Angularjs and Nodejs
Home Page: http://mean-todo-app.herokuapp.com
A Todo MEAN App - MongoDB, Expressjs, Angularjs and Nodejs
npm install
gulp
and navigate to http://localhost:3000
to view the appHello,
in which file do we apply MongoHQ settings so as to host the app on heroku ?
Hi, just another little comment:
in the file
client/partials/todo.html
there seems to be a couple of lines that have been duplicated for no obvious reason (to me).
I was wondering why I was getting two lists of todos after having cloned the app.
So I tried to track down the cause of this.
Turned out that in the above named file there where two ng-repeat
sections with what seemed to me duplicated code.
After having deleted the second one and removing one last div that seemed to be duplicate, too I ended up with a perfectly well-working version of your app :)
Didn't you experience this problem?
Best, Marco
There is something wrong in controllers.js
Particularly here:
$scope.todos.push(data.data);
On entering any data " TypeError: undefined is not a function " error is thrown.
Hi there, thanks for your great tutorial and test-app.
Just a small suggestion:
note that in the tutorial you specify:
var db = mongojs('meanTodo', ['todos']);
whereas in the git repo you got:
var db = mongojs('mongodb://admin:[email protected]:63809/meantodo', ['todos']);
a little hint in the Readme for people who just clone the repo (don't follow along with the tutorial) as to change the connection string to something like (or replace with their values)
var db = mongojs('mongodb://localhost:27017/meantodo', ['todos']);
would be great :)
thanks anyway for the great tutorial and demo app!
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.