Skip to content

Beetrack/directions-agnostic-localhost-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directions Agnostic Localhost Proxy

Proxy for directions agnostic for local environment

This proxy allows you to use Directions Agnostic SRM service in local environments

Requirements

  • Install Directions Agnostic using the branch localhost-proxy in your project
npm install @beetrack/directions-agnostic@github:Beetrack/directions-agnostic#localhost-proxy
  • Clone this repo

  • Install all dependencies of this repo

npm install
  • Go to https://app.beetrack.dev and log in with any account

  • Open navigator inspect tools and looking for beetrack auth cookie. In Google Chrome, follow the numbers.

copy value from navigator

  • Paste cookie value in proxy.js file in the PASTE_COOKIE_HERE part. Don't delete the final ;.

paste value here

  • Execute this proxy
node proxy.js
  • Now request to Directions Agnostic will be resolved by this proxy and send to srm.beetrack.dev with a development credentials and you can do test in your localhost environment

About

Proxy for directions agnostic for local environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors