Coder Social home page Coder Social logo

micromata / generator-http-fake-backend Goto Github PK

View Code? Open in Web Editor NEW
57.0 14.0 10.0 410 KB

Yeoman generator for building a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.

License: MIT License

JavaScript 97.53% CSS 0.81% HTML 0.12% Handlebars 1.54%
yeoman yeoman-generator nodejs node json mocks fake fake-data api http

generator-http-fake-backend's Introduction

Sorry, this project is unmaintained 😢

Thanks to all contributors for your work!

npm version Build Status Coverage Status Dependency Status devDependency Status Unicorn

Yeoman generator for http-fake-backend

Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |      Welcome to the      |
   `---------´   |        phenomenal        |
    ( _´U`_ )    |     http-fake-backend    |
    /___A___\    |        generator!        |
     |  ~  |     '--------------------------'
   __'.___.'__   
 ´   `  |° ´ Y ` 

Please check the README of »http-fake-backend« to get detailed information about what it’s all about.

This readme only contains the gist of it and mainly describes Yeoman specific things.

Installation

First, install Yeoman and generator-http-fake-backend using npm (we assume you have pre-installed Node.js 6.0.0 or greater).

# via Yarn
yarn global add yo
yarn global add generator-http-fake-backend

# via npm
npm install -g yo
npm install -g generator-http-fake-backend

Then generate your fake backend server:

yo http-fake-backend

Generating endpoints

yo http-fake-backend:endpoint

Demo

Please see detailed info regarding how to adjust your endpoints over here: https://github.com/micromata/http-fake-backend

Start the server

npm run start:dev

This way the server uses nodemon to restart itself on changes. This way you dont have to restart the server in case you changed an endpoint.

Getting To Know Yeoman

Yeoman has a heart of gold. He’s a person with feelings and opinions, but he’s very easy to work with. If you think he’s too opinionated, he can be easily convinced. Feel free to learn more about him.

Related

  • http-fake-backend – Static version of the hapi server that this generator creates.

License

MIT © Micromata

Please be aware of the licenses of the components we use in this project. Everything else that has been developed by the contributions to this project is under MIT License.

generator-http-fake-backend's People

Contributors

mischah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-http-fake-backend's Issues

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.