Giter Club home page Giter Club logo

ecommerce-with-integrated-payment-gateway's Introduction

ecommerce-with-integrated-payment-gateway

An E-commerce website developed on the MEAN Stack with Paypal Sandbox as the payment gateway. The PayPal Sandbox is a self-contained, virtual testing environment that mimics the live PayPal production environment.

Build Status

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisities

install node and npm

Installation

  • Clone the repository: git clone https://github.com/darpanjbora/ecommerce-with-integrated-payment-gateway.git

  • Install all dependencies: npm install

  • Start the server: npm start

  • To test the payment gateway, create a paypal sandbox account. For more information, Creating PayPal Sandbox account

Test

# To run the mocha test
npm test

Deployment

The website is live at Online Course Store.

Built With

  • ExpressJS - Express is a minimal and flexible Node.js web application framework
  • AngularJS Material Design - AngularJS Material is both a UI Component framework and a reference implementation of Google's Material Design Specification.
  • PayPal Node SDK - PayPal Node SDK is an official Open-Source Node.js SDK for supporting PayPal Rest APIs.
  • Nodemailer - Nodemailer is a module for Node.js applications to allow easy email sending.
  • Mocha - Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun.

AUTHOR

@darpanjbora - [email protected]

ecommerce-with-integrated-payment-gateway's People

Contributors

darpanjbora avatar

Watchers

 avatar

ecommerce-with-integrated-payment-gateway's Issues

Error while running npm start

(node:17912) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
(node:17912) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and
Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:17912) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [ds245548.mlab.com:45548] on first connect [MongoNetworkTimeoutError: connection timed out
at connectionFailureError (C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\connect.js:345:14)
at Socket. (C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\connect.js:313:16)
at Object.onceWrapper (events.js:421:28)
at Socket.emit (events.js:315:20)
at Socket._onTimeout (net.js:482:8)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)]
at Pool. (C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\topologies\server.js:441:11)
at Pool.emit (events.js:315:20)
at C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\pool.js:564:14
at C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\pool.js:999:11
at C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\connect.js:32:7
at callback (C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\connect.js:283:5)
at Socket. (C:\Users\computer world\Desktop\New folder\ecommerce-with-integrated-payment-gateway\node_modules\mongodb\lib\core\connection\connect.js:313:7)
at Object.onceWrapper (events.js:421:28)
at Socket.emit (events.js:315:20)
at Socket._onTimeout (net.js:482:8)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
(node:17912) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17912) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.