Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 973 Bytes

README.md

File metadata and controls

50 lines (28 loc) · 973 Bytes

chimoney-developer-examples

Demo app for Chimoney Checkout using Chiconnect API

Getting Started

Clone repo

git clone https://github.com/Chimoney/chimoney-developer-examples.git

Using the sample backend server

To use the demo, you'll need to start up the backend code chimoney-checkout-test-node.

Navigate to our example backend locally and;

  • Copy the .env.example file into a file named .env in the folder of chimoney-checkout-test-node. For example:
cp .env.example .env
  • Update your API_KEY

  • Run the following commands to setup locally,

npm install 
npm run dev

The example backend server should be running now at http://localhost:3000.


Using the sample web app

  1. Navigate to the chi-checkout-web-demo folder
  2. Run npm install
  3. Run npm run dev
  4. You are now ready to use the app running in http://localhost:5173.