1.0.12 • Published 6 years ago

noger-ui v1.0.12

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Noger-ui(Beta)

Noger-ui is a npm module which can be used to test the api's without using the 3rd party tools.Noger-ui uses the noger.json file to create the ui, for more details on how to use Noger-ui follow the link. Noger-ui provides you an UI for checking basic authentication, get, post, put, delete requestes. So no overhead of using 3rd part tools to test the api's or making any documentation.

Installation

To use Noger-ui you must have nodejs and npm preinstalled in your system. To install Noger-ui use

npm install noger-ui

This will install Noger-ui so that it can be used with-in your project for documentaion and testing purposes.

How to use

  • The basic structure of the noger.json file would look like: { "route": [ "user", "user", "user", "user" ], "path": [ "api/getName", "api/addName", "api/updateName", "api/deleteName" ], "type": [ "get", "post", "put", "delete" ], "name": [ "getName", "addName", "updateName", "deleteName" ] }
  • Express setup(changes in project's main.js file)

    const nogerFile = require('./noger.json'); const nogerUi = require('noger-ui');

    nogerUi.setUp(app, nogerFile, port);

  • Load noger-ui from url http://localhost:portnumber/noger-ui

    for example http://localhost:3000/noger-ui

License

Apache 2.0

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago