Skip to content

Mozart409/json-server-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Server RS

Table of Contents

About

JSON Server RS is a user-friendly REST API designed to facilitate testing, prototyping, and continuous integration/continuous deployment (CI/CD) pipelines. The server allows users to easily store JSON data in a file and transfer it to the designated "/data" folder. By naming the file, for example, "articles.json", the corresponding endpoint will also be named "http://localhost:3000/api/articles". The data is then served as a JSON array.

To view all available endpoints, users can navigate to "http://localhost:3000/api" or "http://localhost:3000/api/" in their web browser. This straightforward approach enables users to efficiently manage and manipulate their data, making it a valuable tool in various development and testing scenarios.

Installing

Download the executable from cargo and place it in your path.

THIS IS NOT IMPLEMENTED YET

cargo install json-server-rs
brew install json-server-rs
sudo dnf install json-server-rs
sudo apt-get install json-server-rs

Usage

Add notes about how to use the system.

json-server-rs -p 8888 -d ./api