Code Monkey home page Code Monkey logo

todolist's Introduction

TodoList

A TodoList using Node.js, Express.js, MongoDB, jQuery and Bootstrap styling.

To get started with this app, you will need Node.js and NPM. After doing a git clone or downloading the repo,type the following npm commands in your terminal to install the dependencies:

npm install --save

If you do not already have Bower installed, you can install with:

npm install -g bower Bower is used to download Bootstrap CSS and jQuery.

The NPM dependencies included in package.json are:

  • Express 4.15
  • Body-Parser
  • ejs
  • mongodb

And if you hate restarting the server after every change, like I do, then you can also use nodemon:

npm install -g nodemon && npm install --save-dev nodemon Nodemon will restart your express server each time you save changes, as well as restart after you've made changes to from a console error log.

You may notice I set the port that the node server listens on to 4040. This is just an attempt to be a little different from the crowd, as well as so I can host other apps on my server.

Any additional styling or features you are welcome to add on your own.

Enjoy!!!

todolist's People

Contributors

shoar avatar

Watchers

James Cloos avatar

Forkers

au12113

todolist's Issues

package.json does not parse in ubuntu

Not sure why npm cannot parse json, the package was created with NPM.

npm ERR! Linux 4.4.0-63-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! file /root/TodoList/package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Trailing comma in object at 9:3
npm ERR!   }
npm ERR!   ^
npm ERR! File: /root/TodoList/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR! 
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     /root/TodoList/npm-debug.log

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.