npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

parse-server-test

v1.3.7

Published

Testable Parse Server. Lightweight instance for running tests against the Parse PHP SDK and any other parse sdks.

Downloads

11

Readme

parse-server-test

Lightwight ParseServer Implementation for Testing

What is this?

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.

What do I need for this to work?

You'll need to have npm installed. If you don't already have npm installed you can get started here.

How to Get Started.

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 server
npm start

...

# stop the server
npm 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.

mongodb-runner start
node server.js

When you're done you'll want to make sure you shutdown mongodb again.

mongodb-runner stop

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 ParseServer. 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 server.js.

verbose: true

Issues.

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.