Created: 2014-05-19 18:41
Updated: 2018-06-23 18:45

Todo app using AngularJS

Demonstrates a simple CRUD app using AngularJS and Node.js for the backend.

Nothing fancy: look and ergonomics are bad, that's not the point of it.

This is how I build AngularJS apps.

Compare to other AngularJS demos, this one focus on:

External documentation

Here two tutorials (that I liked) to start with AngularJS:

Other links:

Recommended books:

General files and directories organization

Traditional AngularJS apps follow the "1 directory = 1 type" convention. This web app on the other hand follow the "1 directory = 1 feature" convention when applicable.

How to run the serve (APIs)

  • Install Node.js
  • Open a console
  • Go to directory server
  • Run command line npm install
  • To start the server, run npm start

How to run the web app

Using file://

After closing Chrome, run a new Chrome process using --disable-web-security and --allow-file-access-from-files

Using Node.js web server

  • Open a console
  • Go to directory root directory
  • Run command line npm install
  • Start the server with gulp server
  • Open http://localhost:8080/app
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more