A simple web based game, there are the components to build it, such as :
- Backend : NodeJS
- Database : MongoDB
- NodeJS Framework : Express JS
- Template Engine : Handlebars JS
- Package Manager NodeJS : NPM
- Package Manager for web : Bower
- Automation Build Tool : Gulp
and another useful tools :
- Handlebars & ExpressJS helpers : express-handlebars
- Incoming request Parser : body-parser
- MongoDB driver NodeJS : mongodb
- Session middleware ExpressJS : express-session
- Cookie Parser : cookie-parser
- Useful functional programming helpers : Underscorejs
- Http Unit Test helpers : supertest
- Unit Test Framework : Mochajs
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Clone the repository
git clone https://github.com/selamatpurba04/kuisgambarsaku.git kuisgambarsaku
- Install NPM packages
cd kuisgambarsaku
npm install
- Install Bower packages
bower install
- Automate build by using Gulp
gulp
- Install MongoDB and make sure mongodb service already running
service mongod status
- Run mongod with a local data directory
mongod --dbpath=data
- Run the application
nodejs index.js