Lightwight ParseServer Implementation for Testing
An easy way to deploy mongodb and parse-server for testing purposes. This is setup with the intention for testing the Parse PHP SDK, but, being a fully fledged instance of parse server, would work just as well with any of the other Parse sdks.
You'll need to have
If you don't already have npm installed you can get started here.
You can clone down this project and run
npm install to set everything up. Npm installations are done locally to keep things nice and tidy.
# start the servernpm start...# stop the servernpm stop
You can run the server directly from the project directory, in case you want to get direct output directly to the console rather than just the logs.
Note that if you start up this way you will first want to start up a test db using
mongodb-runner startnode server.js
When you're done you'll want to make sure you shutdown mongodb again.
If you want to customize your test server you need only edit the configuration in
server.js, the bit that's passed in to create a new instance of
You can find more details about configuring your parse-server here.
Verbose output is enabled by default to help with testing. If you need to make it a bit quieter you can remove the following line from the config in
If you have any problems running the script or have any suggestions to add new functionality feel free to open an issue or PR.
Currently the entire server is setup via arguments passed to
parse-server on the command line.