config file & db UPDATE

- Added config.js file for dev & prod environment configuration
- Added UPDATE query to update user's points in leaderboard