My turn to make a TODO app.
Not ever for public consumption, but being built for me, partly to learn AngularJS more, and partly to have my own Todo application that I actually like to use.
There's nothing exciting about this app, I'm building it to suit exactly what I want and it's nothing ground breaking, but you might find some of the tech interesting. It's:
- An AngularJS frontend, running a Firebase backend (well, with a tiny ExpressJS server to tie it together).
- Written with some sprinkles of ES6 thanks to Traceur.
- Using npm for dependencies thanks to Browserify.
- Global dependencies (Angular) dealt with through Bower.
- AngularJS tests written using Jasmine and Karma.
- not using Grunt/Gulp/Broccoli but just a simple Makefile.
Any Qs about any of that stuff, feel free to ask. Or if you know Angular better than me (highly likely, I am still learning) please do let me know if I could be doing things differently.
Sign up for and attain a Firebase URL. Sign Up Here.
Rename secrets.json.example
to secrets.json
and add in your Firebase URL to it.
Install dependencies:
npm install
./node_modules/bower/bin/bower install
Generate the build file:
make dev
Run it:
node bin/www
Go to localhost:3000 and rock on. Any help required running it, feel free to open an issue.
To keep the generated JS files up to date as you work, in another window/tab you should run:
make watch
It watches for changes in public/javascripts/app
and runs make
when it detects them.
Test it with:
make test
PS: the old Firebase URL I used is still in the Git commits somewhere. Don't get excited if you find it though, I ditched it so I could make this repo public :D