Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 698 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 698 Bytes

Phoney

Easy to create - deploy - use mock endpoints

Usage

  1. Create a new module cp modules/example.js modules/my-api.js
  2. Add some methods..
  3. Access the API at /my-api

Deploy

  • Self hosted

    npm start
    
  • Self hosted (Docker)

    docker build -t stefanoschrs/phoney . # (optional)
    docker run --rm -p 1337:80 -v $PWD:/opt/app/ stefanoschrs/phoney
    
  • Free on openode

    npx openode status
    
    # Register or Login
    
    npx openode deploy
    
    # Well.. That's it :)
    

Tips

  • If you are using jetbrains for development and openode for hosting add .idea to .openodeignore