{"id":19847816,"url":"https://github.com/mnpappo/atsapi","last_synced_at":"2026-05-14T04:33:31.568Z","repository":{"id":99661449,"uuid":"61071746","full_name":"mnpappo/atsapi","owner":"mnpappo","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-13T21:44:35.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T12:46:09.513Z","etag":null,"topics":["mongolab","parse-server"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mnpappo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-13T21:42:34.000Z","updated_at":"2016-06-13T21:44:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"e709c83c-da4b-4d55-ba1c-fce7b7eed5b2","html_url":"https://github.com/mnpappo/atsapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnpappo%2Fatsapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnpappo%2Fatsapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnpappo%2Fatsapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnpappo%2Fatsapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnpappo","download_url":"https://codeload.github.com/mnpappo/atsapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241226805,"owners_count":19930487,"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":["mongolab","parse-server"],"created_at":"2024-11-12T13:15:15.493Z","updated_at":"2026-05-14T04:33:31.527Z","avatar_url":"https://github.com/mnpappo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parse-server-example\n\nExample project using the [parse-server](https://github.com/ParsePlatform/parse-server) module on Express.\n\nRead the full Parse Server guide here: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide\n\n### For Local Development\n\n* Make sure you have at least Node 4.3. `node --version`\n* Clone this repo and change directory to it.\n* `npm install`\n* Install mongo locally using http://docs.mongodb.org/master/tutorial/install-mongodb-on-os-x/\n* Run `mongo` to connect to your database, just to make sure it's working. Once you see a mongo prompt, exit with Control-D\n* Run the server with: `npm start`\n* By default it will use a path of /parse for the API routes.  To change this, or use older client SDKs, run `export PARSE_MOUNT=/1` before launching the server.\n* You now have a database named \"dev\" that contains your Parse data\n* Install ngrok and you can test with devices\n\n### Getting Started With Heroku + Mongolab Development\n\n#### With the Heroku Button\n\n[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)\n\n#### Without It\n\n* Clone the repo and change directory to it\n* Log in with the [Heroku Toolbelt](https://toolbelt.heroku.com/) and create an app: `heroku create`\n* Use the [MongoLab addon](https://elements.heroku.com/addons/mongolab): `heroku addons:create mongolab:sandbox --app YourAppName`\n* By default it will use a path of /parse for the API routes.  To change this, or use older client SDKs, run `heroku config:set PARSE_MOUNT=/1`\n* Deploy it with: `git push heroku master`\n\n### Getting Started With AWS Elastic Beanstalk\n\n#### With the Deploy to AWS Button\n\n\u003ca title=\"Deploy to AWS\" href=\"https://console.aws.amazon.com/elasticbeanstalk/home?region=us-west-2#/newApplication?applicationName=ParseServer\u0026solutionStackName=Node.js\u0026tierName=WebServer\u0026sourceBundleUrl=https://s3.amazonaws.com/elasticbeanstalk-samples-us-east-1/eb-parse-server-sample/parse-server-example.zip\" target=\"_blank\"\u003e\u003cimg src=\"http://d0.awsstatic.com/product-marketing/Elastic%20Beanstalk/deploy-to-aws.png\" height=\"40\"\u003e\u003c/a\u003e\n\n#### Without It\n\n* Clone the repo and change directory to it\n* Log in with the [AWS Elastic Beanstalk CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html), select a region, and create an app: `eb init`\n* Create an environment and pass in MongoDB URI, App ID, and Master Key: `eb create --envvars DATABASE_URI=\u003creplace with URI\u003e,APP_ID=\u003creplace with Parse app ID\u003e,MASTER_KEY=\u003creplace with Parse master key\u003e`\n\n### Getting Started With Microsoft Azure App Service\n\n#### With the Deploy to Azure Button\n\n[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)\n\n#### Without It\n\nA detailed tutorial is available here:\n[Azure welcomes Parse developers](https://azure.microsoft.com/en-us/blog/azure-welcomes-parse-developers/)\n\n\n### Getting Started With Google App Engine\n\n1. Clone the repo and change directory to it \n1. Create a project in the [Google Cloud Platform Console](https://console.cloud.google.com/).\n1. [Enable billing](https://console.cloud.google.com/project/_/settings) for your project.\n1. Install the [Google Cloud SDK](https://cloud.google.com/sdk/).\n1. Setup a MongoDB server.  You have a few options:\n  1. Create a Google Compute Engine virtual machine with [MongoDB pre-installed](https://cloud.google.com/launcher/?q=mongodb).\n  1. Use [MongoLab](https://mongolab.com/google/) to create a free MongoDB deployment on Google Cloud Platform.\n1. Modify `app.yaml` to update your environment variables.\n1. Delete `Dockerfile`\n1. Deploy it with `gcloud preview app deploy`\n\nA detailed tutorial is available here:\n[Running Parse server on Google App Engine](https://cloud.google.com/nodejs/resources/frameworks/parse-server)\n\n### Getting Started With Scalingo\n\n#### With the Scalingo button\n\n[![Deploy to Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy)\n\n#### Without it\n\n* Clone the repo and change directory to it\n* Log in with the [Scalingo CLI](http://cli.scalingo.com/) and create an app: `scalingo create my-parse`\n* Use the [Scalingo MongoDB addon](https://scalingo.com/addons/scalingo-mongodb): `scalingo addons-add scalingo-mongodb free`\n* Setup MongoDB connection string: `scalingo env-set DATABASE_URI='$SCALINGO_MONGO_URL'`\n* By default it will use a path of /parse for the API routes. To change this, or use older client SDKs, run `scalingo env-set PARSE_MOUNT=/1`\n* Deploy it with: `git push scalingo master`\n\n# Using it\n\nBefore using it, you can access a test page to verify if the basic setup is working fine [http://localhost:1337/test](http://localhost:1337/test).\nThen you can use the REST API, the JavaScript SDK, and any of our open-source SDKs:\n\nExample request to a server running locally:\n\n```curl\ncurl -X POST \\\n  -H \"X-Parse-Application-Id: myAppId\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"score\":1337,\"playerName\":\"Sean Plott\",\"cheatMode\":false}' \\\n  http://localhost:1337/parse/classes/GameScore\n  \ncurl -X POST \\\n  -H \"X-Parse-Application-Id: myAppId\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}' \\\n  http://localhost:1337/parse/functions/hello\n```\n\nExample using it via JavaScript:\n\n```javascript\nParse.initialize('myAppId','unused');\nParse.serverURL = 'https://whatever.herokuapp.com';\n\nvar obj = new Parse.Object('GameScore');\nobj.set('score',1337);\nobj.save().then(function(obj) {\n  console.log(obj.toJSON());\n  var query = new Parse.Query('GameScore');\n  query.get(obj.id).then(function(objAgain) {\n    console.log(objAgain.toJSON());\n  }, function(err) {console.log(err); });\n}, function(err) { console.log(err); });\n```\n\nExample using it on Android:\n```java\n//in your application class\n\nParse.initialize(new Parse.Configuration.Builder(getApplicationContext())\n  .applicationId(\"myAppId\")\n  .clientKey(\"myClientKey\")\n  .server(\"http://myServerUrl/parse/\")   // '/' important after 'parse'\n  .build());\n\nParseObject testObject = new ParseObject(\"TestObject\");\ntestObject.put(\"foo\", \"bar\");\ntestObject.saveInBackground();\n```\nExample using it on iOS (Swift):\n```swift\n//in your AppDelegate\n\nParse.initializeWithConfiguration(ParseClientConfiguration(block: { (configuration: ParseMutableClientConfiguration) -\u003e Void in\n  configuration.server = \"https://\u003c# Your Server URL #\u003e/parse/\" // '/' important after 'parse'\n  configuration.applicationId = \"\u003c# Your APP_ID #\u003e\"\n  configuration.clientKey = \"\u003c# Your CLIENT_KEY #\u003e\"\n}))\n```\nYou can change the server URL in all of the open-source SDKs, but we're releasing new builds which provide initialization time configuration of this property.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnpappo%2Fatsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnpappo%2Fatsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnpappo%2Fatsapi/lists"}