Skip to content

njncalub/apistar-mongoengine

Repository files navigation

apistar-mongoengine

development status pypi version build status coverage

Shameless bootleg copy of flask-mongoengine for API Star, modified for personal taste. Contributions are most welcome!

Installation

Getting Started

For your classes, use Document from apistar_mongoengine.models.

Add MongoClientComponent to your app's components to initialize the mongodb connection.

Check the example for more details.

Running tests and getting the overall coverage

  1. Install the required dependencies:
  1. Run flake8:
  1. Run pytest with coverage flags:
  1. Open ./htmlcov/index.html in your browser.

Contributing

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you're not ready to be an open source contributor; that your skills aren't nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one's coding skills. Writing perfect code isn't the measure of a good developer (that would disqualify all of us!); it's trying to create something, making mistakes, and learning from those mistakes. That's how we all improve, and we are happy to help others learn.

Being an open source contributor doesn't just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you're coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

License

MIT licensed. Please see the bundled LICENSE file for more details.

About

Shameless bootleg copy of flask-mongoengine for API Star.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages