Robinyo / business-registries-rest-api-specification

Business Registries REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Business Registries REST API

Build Status

Introduction

This is the repository for the Business Registries REST API.

screenshot

License

This work is licensed under the Creative Commons Attribution 3.0 Australia (CC BY 3.0 AU) License. To view a copy of this license, visit https://creativecommons.org/licenses/by/3.0/au/.

Links

To work on the API specification

Install

  1. Install Node JS
  2. Clone the repo, cd then run npm install (or yarn install)

Usage

  1. Run npm start
  2. Check the console output to see where the local server was started:
    [08:24:32] Starting 'build'...
    [08:24:32] Starting 'watch'...
    [08:24:32] Finished 'watch' after 77 ms
    [08:24:32] Starting 'edit'...
    [08:24:32] Finished 'edit' after 1.92 ms
    [08:24:32] swagger-editor started http://localhost:5000
    [08:24:36] Finished 'build' after 3.73 s
    [08:24:36] Starting 'serve'...
    [08:24:36] Finished 'serve' after 73 μs
    [08:24:36] Server started http://localhost:3000
    [08:24:36] LiveReload started on port 35729
    
  3. Make changes using your favorite editor (in the /spec folder) or use the bundled swagger-editor (look for the URL in the console's output)
  4. All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in the browser after each change
  5. Once you finish with the changes you can run tests using: npm test

Note: you can open swagger-editor, documentation and swagger-ui in parallel

Additional Resources

About

Business Registries REST API

License:Other


Languages

Language:JavaScript 53.8%Language:HTML 46.2%