/reactjs-midtrans

Example how to integrate payment gateway using midtrans, firebase, reactjs and minimal server to create transaction service using express.

Primary LanguageTypeScript

React.js + Express + Midtrands + Firebase

Read midtrans documentation:

Get Started

  • clone the repo
  • run the backend service:
    • configure your environment use .env-template
    • run these commands :
      cd server/ && 
      yarn &&
      yarn devdev
  • run the client
    • configure your environment use .env-template
    • run these commands:
      cd client/ &&
      yarn &&
      yarn start
    • open the browser and simulate the transaction.