Coder Social home page Coder Social logo

mariobacellar / servisim Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 20.04 MB

Mockup API Service Simulator - Mock your API calls in 1 min. Save the data into flat files.

Home Page: https://www.linkedin.com/pulse/aplica%C3%A7%C3%A3o-t%C3%A1-pronta-mas-e-apis-salvo-pelo-nodejs-mais-mario-bacellar/

JavaScript 100.00%
mock mockup mockups node nodeapi integration integration-testing integration-test api api-server

servisim's Introduction

Servisim Build Status Codacy Badge License: Unlicense

Servisim - Service Simulator v0.1

Description

It is not a sinful server. But you can't forget to disconnect it from your website. It's so simple to use. You will not even want to talk to the API anymore: It is a sin!

It is a Javascript builded to mock APis calls.

Basically, it persist JSON files and when something hits the endpoint, it returns the related JSON. It is very simple to adapt. Just follow the 'client' or 'product' logic inner.

Into ./servisim_db folder you have samples of some fakes JSON.

You must adapt the 'servisim.js' file to you endpoint: (i.e: /cliente/select/1).

I used Restify (http://restify.com) but, you can change the web service framework to your favorite into 'servisim.js' file.

Install

npn install

Run

node servisim

Test

curl http://localhost:8089/api/client/select/1

Author

Mario da Costa Bacellar is SME System Integration as Solution Architect and postgraduate at 2015 by Universidade Federal do Rio de Janeiro in Computer Engineering and Systems, MBA. He has +19 years experience in Enterprise IT Solutions and SOA Governance.

Get in touch:

  • [email protected]
  • https://www.linkedin.com/in/mariobacellar
  • Aplicação tá pronta. Mas e as APIs? Salvo pelo Node. (Node e Oracle?)

  • https://www.linkedin.com/pulse/aplica%C3%A7%C3%A3o-t%C3%A1-pronta-mas-e-apis-salvo-pelo-nodejs-mais-mario-bacellar

  • ©2019 No Copyright, You can share!

    servisim's People

    Contributors

    dependabot[bot] avatar mariobacellar avatar

    Stargazers

     avatar

    Watchers

     avatar

    Forkers

    codacy-badger

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.