This was made as a learning experience to use Test Driven Development when building projects, as well as to practice the Express node module and to get experience working with a database.
- Install git
- Installation Guide for git
- Install nodeJS
- Here's a guide for the Windows Installation of NodeJs
- Here's a guide for the Mac Installation of NodeJs
- Go to the command line and navigate to the folder you either cloned or downloaded
cd yourFolderName
- Run
npm install
- That should download all the dependencies.
- Install Redis
- This app uses Redis as database so you should install that.
- Start the database up, once you have installed redis, input the following to the console...
redis-server
- There is an executable for this file that you can run...
...running that in the console should start the app. It defaults to http://localhost:3000
./bin/www
Tests can be run after starting up the Redis server by inputing the following into the console.
npm test
- NodeJs - Runtime environment
- Express - Web Framework
- Redis - Database
- Supertests - Used for testing
- Mocha - Used for testing
- 1.0
- Daniel Hsu - I wrote this.
- Code School - Was made following this tutorial.