Sign inSign up

lizheming/animaris

By lizheming

Updated over 8 years ago

Documentation and Mock for Mobile WebView APIs base on ThinkJS & MongoDB & React & Antd.

Image
0

317

lizheming/animaris repository overview

Animaris

Documentation and Mock for Mobile WebView APIs base on ThinkJS & MongoDB & React & Antd.
https://github.com/lizheming/animaris

Quick reference
Introduction

Animaris is a system to resolve problem about mobile webview api documentation and mock. We use ThinkJS and MongoDB for server, React and Antd for front end, Docsify for documentation at last. Animaris fixed follow questions:

  1. A visual documentation for Mobile WebView API.
  2. How mock Mobile WebView API.

If your Mobile web page depend on WebView API, you should inspect to simulator or physical machine. It's very terrible. All we know api mock program usually support server http api, there has little mock webview api program.

How to use this image
$ docker run \ 
  -e MONGO_HOST="127.0.0.1" \
  -e MONGO_PORT="27017" \
  -p 8360:8360 \
  lizheming/animaris

Then you can hit http://localhost:8360 in your browser.

Configuration

Environment vairables are passed to the run command for configuring a animaris container.

NameDefaultDescription
MONGO_HOST127.0.0.1MongoDB container host
MONGO_PORT27017MongoDB port
MONGO_DATABASESwebview_mockMongoDB databases
MONGO_USER''MongoDB admin username
MONGO_PASSWORD''MongoDB admin password
License

MIT

Tag summary

Content type

Image

Digest

Size

47.1 MB

Last updated

over 8 years ago

docker pull lizheming/animaris