Skip to content

arbo77/dev-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevProxy

Proxy ini akan otomatis reload ketika file config.json diubah.

Silakan tentukan path local untuk mengarahkan ke target

[
  {
    "path": "/your-api",
    "target": "https://example.your-api.com"
  },
  {
    "path": "/jsonplaceholder",
    "target": "https://jsonplaceholder.typicode.com"
  }
]

gunakan url http://localhost:3000/{path} untuk development

atau untuk menggunakan port lain, bisa dengan tambahkan parameter seperti npm run 3500


Terima kasih,

Semoga bermanfaat :-)

About

Proxy for development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published