Skip to content

ahmadelmalah/Node.js-lib-for-online-payment

Repository files navigation

Node.js Library for online payment

Node.js Library for processing online payment (Credit Cards, Braintree and Paypal)

Technolgy Stack

  • Back-end Languge: Node.js (Express Framework)
  • Database: MongoDB
  • UI Framework: Bootstrap 4.3
  • Template Engine: Twig
  • Payment processors: Braintree and Paypal
  • API Documentation: Swagger
  • Docker Image

Getting started

Prerequisites

  • Node.js Installed
  • MongoDB Installed
  • Git Installed
  • Paypal Sandbox Account
  • Braintree Sandbox Account

Installation Guide

  • Clone the repository
$ git clone https://github.com/ahmadelmalah/Node.js-lib-for-online-payment.git
  • Install NPM Modules
$ cd Node.js-lib-for-online-payment
$ npm install
  • Create .env for your enviromental variables by copying .env.example
$ cp .env.example .env
  • Update .env with your sandbox accounts (You can replace nano with your favourite editor)
$ nano .env
  • Now we are ready!
$ npm start

Screenshots

alt tag

alt tag

alt tag

alt tag

alt tag