Skip to content

planterdocs/fetch-api

Repository files navigation

License: MIT JavaScript Style Guide: Standard Build Status

@planterdocs/fetch-api

A query-only API for front-end applications

Configuration

Requires MongoDB and Redis server information set as environmental variables, or via .env dotfile.

.env

# REQUIRED

REDIS_HOST=
REDIS_PORT=
REDIS_AUTH_PASS=

MONGO_URI=
MONGO_DB=
MONGO_COLLECTION=

The FireFerret client manages datastore connections, queries, and errors. Read more about fine-tuning FireFerret here.

API

└── /
    └── api (GET)
        └── / (GET)
            └── plant
                ├── /
                │   └── :name (GET)
                └── s (GET)
                    └── / (GET)
                        └── :region (GET)

Proxying

Image deploys with 80:80 open. Please use a reverse-proxy in production.

About

Fetch API for Planterdocs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published