Skip to content

alireza-saberi/rating-HEC

Repository files navigation

Rating

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:

Demo

homepage

candidate

APIs and technologies

How to make it work on your machine (To Mostafa)

  • 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 and package.json files here in the command line via CMD
  • 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.

Updates

  • 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.