A Docker file to build images for AMD & ARM devices with a installation of JSON Server that is a fast and simple to deploy a full fake REST API with zero coding.
Be aware! You should read carefully the usage documentation of every tool!
Docker Hub | Docker Pulls | Docker Stars | Size/Layers |
---|---|---|---|
json-server |
Get a full fake REST API with zero coding in less than 30 seconds (seriously).
Build for amd64 or armv7l architecture (thanks to its Multi-Arch base image)
docker build -t elswork/json-server .
Start the live-reloading docs server to preview site while perform changes.
make run
Or
docker run -d -p 3000:3000 -v `pwd`:/data \
--name my_JSON-Server elswork/json-server
--watch db.json
Point your browser to http://host-ip:3000
to preview site.