ezyserv
v1.0.4
Published
[](https://www.npmjs.com/package/ezyserv)
Readme
Ezyserv
Create custom backend APIs effortlessly, for frontend developers.
Installation
npm install -g ezyservYou must install ezyserv globally to use it as a command-line tool.
Usage
After installation, you can use the following command to verify that ezyserv is installed correctly:
ezyserv -hCreate an API
- Create a directory
mkdir <folderName>
cd <foldername>(all commands should run inside the created directory)
- Initiate ezyserv
ezyserv --init- Update necessary data in ezyserv.config.json
- Add nessary routes along with their data json file paths
- Add whatever data set you need to serve to json files in ./Data
- Then start server using,
ezyserv --serveList data files inside ./Data
ezyserv --dataFeatures
- Serve data using GET method (currently)
- Can customize routes and data easily
Upcoming Features
- Handle POST, PUT, DELETE methods
- Implement database
Dependencies
ezyserv uses the following dependencies:
- express
Author
License
This project is licensed under the MIT License
