meadow-endpoints
v2.0.23
Published
Automatic API endpoints for Meadow data.
Readme
Meadow Endpoints
Automagic REST endpoints for basic CRUD operations on the Retold framework.
This library generates REST endpoints in a consistent manner. Endpoints have the following features:
- Authentication
- Resource Authorization
- CRUD Operations
- Dynamic Filtering
- Schema Validation
The design philosophy is not to cover every possible use case, but to cover the 99% via configuration. The last 1% is easily hand-craftable.
To best use this library, it should be in conjunction with stricture and orator.
Docker Development Environment
- Run this command to build this image:
docker build ./ -t retold/meadow-endpoints:localalternatively you can use npm to run this
npm run docker-dev-build-image- Run this command to build the local container:
docker run -it --name meadow-endpoints-dev -p 127.0.0.1:12343:8080 -v "$PWD/.config:/home/coder/.config" -v "$PWD:/home/coder/meadow-endpoints" -u "$(id -u):$(id -g)" -e "DOCKER_USER=$USER" retold/meadow-endpoints:localalternatively you can use npm to run this
npm run docker-dev-runGo to http://localhost:12343/ in a web browser
The password is "retold"
Right now you (may) need to delete the
node_modulesfolders and regenerate it for Linux.
