A simple rating, voting app initially requested by a friend in business school for internal usage.
You can add, edit, remove, update and vote for each candidate based on four factors of Iman, Taghva, Akhlagh, and Tokhm!:scream:
- HTML5, CSS, JS, Bootstrap
- AngularJS, ng-file-upload from Daniel Farid
- UI-bootstrap
- NodeJS
- Express, Knox for AWS, formidable for getting an image in the body of POST request
- MongoDB, Mongojs for connecting
- graphicsmagick for image processing on the server side
- Facebook social media plug-in: for liking and sharing
- Download ZIP
- You have to be able to install Nodejs on your windows machine globally.(follow the instruction here). It comes with npm.
- You have to be able to install MongoDB on your machine.(follow the instruction here)
- Fire MongoDB service on the other folder that you made and make a database document named
candidateList
and just leave it like that. instruction is here - Go to the folder where you have downloaded the project. You see
server.js
andpackage.json
files here in the command line viaCMD
- Type in this folder
npm install
which installs all of the required dependencies for the front-end and back-end - Type
bower install
which installs some more dependencies. - Type
node server.js
which runs the server file and pushes all of the files to your localhost in the browser. - Preferably use Chrome now. and type
localhost:8000
in the url bar. You will see the home page of your project. - You don't have candidates now, but you can start adding them. Remember that all of these candidates are only on your local machine.
- You have to get the configuration directory from me separately.
- I have to update the uploading image module later, which I had some difficulty making last night,
- I will modify more after these interviews.
- I have learned TDD, and BDD recently
- It won't be TDD if I add tests now, but I will add some tests on a branch for the sake of practice during the upcoming weekend.