An open API service indexing awesome lists of open source software.

https://github.com/wangy8961/flask-mongoengine-tutorial

How to use MongoEngine for your web app
https://github.com/wangy8961/flask-mongoengine-tutorial

Last synced: 8 months ago
JSON representation

How to use MongoEngine for your web app

Awesome Lists containing this project

README

          

> 详情请参考: http://www.madmalls.com/blog/post/mongoengine/

You need install Python 3 first!

```
$ git clone https://github.com/wangy8961/flask-mongoengine-tutorial.git
$ cd flask-mongoengine-tutorial
$ python -m venv venv3
$ source venv3/bin/activate
(venv)$ pip install -r requirements.txt
```

Then, you can run the flask app:

```bash
$ flask run
```

Or, use flask shell to test mongoengine:

```bash
$ flask shell
```