Skip to content

MetalPay/metal-pay-connect-example-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metal-pay-connect-example-javascript

First, run your backend server. Please refer to the metal-pay-connect-nodejs-examaple.

Project setup

Add your BACKEND_API_BASE_URL to your .env file. If you are runnning it locally, this is most likely http://localhost:3005 because we set the backend example to default to that. You can also Refer to our .env.example. If you are using typescript, you may also want to add BACKEND_API_BASE_URL: string to your env.d.ts file.

npm install
npm run build
npm run start

Note:

You must run the npm build to bundle your assets. If you don't, you will not see the widget running in your app.

Troubleshooting:

If you still don't see it running. Open your web dev tools -> network tab -> disable cache (checkbox).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published