A very basic nodejs-project used to query the MySQL-DB of a MediaQ server for more info click here.
ATTENTION: At the moment the user password-hashes used to store in a db are not being salted...
Installation:
- Install nodejs and a local version of mongodb
- checkout git from
https://github.com/BenSower/geohunt.git
- Open a console/terminal/shell and enter the geohunt directory
- run
npm install
to download and install all necessary backend dependencies - run
node node_modules/bower/bin/bower install
to download and install all necessary frontend dependencies (hint, since this command was also added to the postinstall-scripts in package.json, services like heroku will execute this command automatically) - Fill in all needed information in config.js
- run
npm start
- check http://localhost:3000 if you can see the welcome screen
If you want to, you can also insert a few example tasks to the db by executing node backend/insertBasicTasks.js