Giter VIP home page Giter VIP logo

mean-todo-app's Introduction

MEAN-Todo-App

A Todo MEAN App - MongoDB, Expressjs, Angularjs and Nodejs

Install

  • Download/clone the repo
  • Run npm install
  • Run gulp and navigate to http://localhost:3000 to view the app

Tutorial

MEAN stack โ€“ A Hands on Tutorial

mean-todo-app's People

Contributors

arvindr21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mean-todo-app's Issues

TypeError: undefined is not a function

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.

duplicate list of todos in view

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

suggestion for Readme.md file: put config value of db uri location in there

Hi there, thanks for your great tutorial and test-app.

Just a small suggestion:

  • I could setup this thing pretty easily within minutes - just not more than git clone && npm install...
  • however I was wondering why - apart from the server starting up and taking my input for todos - it did not seem to put any documents into mongodb. I tracked this down and soon realized that after some time (timeout?) the request came back with nothing. From where? Of course - the database.
  • logical conclusion: db uri has to be edited.

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.