-
install third part libraries
npm install -
restore the create_schema.sql to mysql db
-
update configs in
config/default.conf
paypal node sdk: https://github.com/paypal/PayPal-node-SDK
braintree node package: https://github.com/braintree/braintree_node
braintree credit card validator: https://github.com/braintree/card-validator
express: https://github.com/expressjs/express
express handlebars: https://github.com/ericf/express-handlebars
mysql: https://github.com/mysqljs/mysql
redis: https://github.com/NodeRedis/node_redis
jquery validation
bootstrap
- remove debug console message
- call payment gateway for getting transaction if no record found in cache and db
- hash the check payment param before send to server and query the payment by hashed value