Skip to content

brunoflegler/api-psp

Repository files navigation

PSP - Payment Service Provider

The application is a simple example of transactions and payables

Installation

PSP requires Node.js v8+ to run and PostgreSQL

Install the dependencies and devDependencies and start the server.

$ git clone https://github.com/brunoflegler/api-pay-transactions.git
$ cd api-pay-transactions

Installation is done using the npm install command:

$ npm install

Or run Yarn install command:

$ yarn install

Migrations

To run the test suite, first install the dependencies, and configure .env.test and run migrations

$ sequelize db:migrate

Test

To run the test suite, first install the dependencies, and configure .env.test, migrations and run npm test:

$ npm test

Or run Yarn:

$ yarn test

Run development

To run, first install the dependencies, and configure .env, migrations and run npm test:

Run NPM development:

$ npm run dev

Or run Yarn development:

$ yarn dev

Run production

To run, first install the dependencies, and configure .env, migrations and run npm test:

Run Pm2 development:

$ pm2 start ecosystem.config.js --env production

Documentation

Follow our use guide for more information. http://psp.myhobbies.com.br.

About

Payment Service Provider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published