{"id":18113369,"url":"https://github.com/bayatgames/node-savegamepro-mongodb","last_synced_at":"2026-04-10T14:38:50.875Z","repository":{"id":80563791,"uuid":"107404216","full_name":"BayatGames/node-savegamepro-mongodb","owner":"BayatGames","description":"Save Game Pro Cloud, Node.js MongoDB Database Support.","archived":false,"fork":false,"pushed_at":"2018-12-04T06:09:54.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T08:48:27.588Z","etag":null,"topics":["bayat","bayat-games","cloud","database","expressjs","mongodb","node-mongodb","nodejs","savegame","savegamepro","unity","unity3d"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BayatGames.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-18T12:19:06.000Z","updated_at":"2018-12-04T06:09:55.000Z","dependencies_parsed_at":"2023-04-10T22:37:49.946Z","dependency_job_id":null,"html_url":"https://github.com/BayatGames/node-savegamepro-mongodb","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"232205564d42814fd082dd97e2d8abe13b69a8c0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayatGames%2Fnode-savegamepro-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayatGames%2Fnode-savegamepro-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayatGames%2Fnode-savegamepro-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BayatGames%2Fnode-savegamepro-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BayatGames","download_url":"https://codeload.github.com/BayatGames/node-savegamepro-mongodb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457746,"owners_count":20941906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayat","bayat-games","cloud","database","expressjs","mongodb","node-mongodb","nodejs","savegame","savegamepro","unity","unity3d"],"created_at":"2024-11-01T02:08:06.534Z","updated_at":"2025-12-30T19:50:18.457Z","avatar_url":"https://github.com/BayatGames.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Save Game Pro Cloud - Node.js MongoDB\n\nSave Game Pro Cloud, Node.js MongoDB Database Support.\n\n## Installation\n\nYou can install the Save Game Pro Cloud - Node.js MongoDB support via below ways:\n\n- [NPM](#npm) (Recommended)\n- [Clone](#clone)\n- [Download](#download)\n\nAlso, we can install it for you:\n\n- [Automatic Installation](#automatic-installation)\n\n### NPM\n\nInstall it via [NPM](https://npmjs.com) (Node Package Manager):\n\n```\nnpm install @bayatgames/savegamepro-mongodb --save\n```\n\nAnd then include it in your server script: (Express Recommended)\n\n```javascript\nconst express = require('express');\nconst bodyParser = require('body-parser');\nconst saveGamePro = require('@bayatgames/savegamepro-mongodb');\nconst app = express();\n\nsaveGamePro.config.secretKey = 'MyCustomSecretKey';\nsaveGamePro.config.database.url = 'mongodb://localhost:27017/savegamepro';\n\napp.use(bodyParser.json());\napp.use(bodyParser.urlencoded({\n  extended: true\n}));\napp.post('/savegamepro', saveGamePro);\napp.listen(3000, function () {\n  console.log('Example app listening on port 3000!');\n});\n```\n\nNow run the script from the command line:\n\n```bash\nnode app.js\n```\n\nYou can find the full working example in the [app.js](https://github.com/BayatGames/node-savegamepro-mongodb/blob/master/app.js) file.\n\n### Clone\n\nClone it using Git:\n\n```\ngit clone https://github.com/BayatGames/node-savegamepro-mongodb.git\n```\n\nOpen the directory:\n\n```bash\ncd node-savegamepro-mongodb\n```\n\nRun the App:\n\n```bash\nnode app.js\n```\n\n### Download\n\n[Download the ZIP](https://github.com/BayatGames/node-savegamepro-mongodb/archive/master.zip) file and extract it and Open the folder then run the below command:\n\n```bash\nnode app.js\n```\n\n## Getting Started\n\nMake sure you have installed the package successfully and the server is running, now go back to Unity and save a simple data to make sure the server is working.\n\nThe URL for this example should be `http://localhost:3000/savegamepro` if you are running the server in localhost.\n\nNow fill the required fields in the Unity, for example make sure the Secret Key is same in both server and Unity.\n\nPlay the game and make a simple request and make sure the request is successful, also, check the database for the saved data and user.\n\n## Automatic Installation\n\nDon't want to install manually, contact us and we will be happy to install it for you:\n\n[Support](https://github.com/BayatGames/Support)\n\nIt is a paid service and the operator will report back to you the price.\n\n## Resources\n\n- [Save Game Pro](https://github.com/BayatGames/SaveGamePro)\n- [Node.js](https://nodejs.org)\n- [MongoDB](https://www.mongodb.com)\n- [Express.js](https://expressjs.com/)\n- [Support](https://github.com/BayatGames/Support)\n\n## License\n\nMIT @ [Bayat Games](https://github.com/BayatGames)\n\nMade with :heart: by [Bayat Games](https://github.com/BayatGames)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayatgames%2Fnode-savegamepro-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbayatgames%2Fnode-savegamepro-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayatgames%2Fnode-savegamepro-mongodb/lists"}