Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An API that can collect money and sends commands to buy products where there are promotions like buy 2 products and receive 3(in this case 3 people send money to an stripe account and buy the product at the price of 2 anonymously)

Notifications You must be signed in to change notification settings

DimitrieT/comrade-buyer

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

An API that can collect money and sends commands to buy products where there are promotions like buy 2 products and receive 3(in this case 3 people send money to an stripe account and buy the product at the price of 2 anonymously)

Installation

$ yarn install

Running the app

Run:

# development
$ yarn dev

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

cp files to elastic beanstalk
zip -r app-version.zip . -x "node_modules/*" "terraform*" ".terraform*" ".terraform/*" "main.tf" "*.tfstate" "*.tfstate.backup" ".terraform.lock.hcl"

add envs
cat /opt/elasticbeanstalk/deployment/env
## Test

```bash
# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

License

Nest is MIT licensed.

About

An API that can collect money and sends commands to buy products where there are promotions like buy 2 products and receive 3(in this case 3 people send money to an stripe account and buy the product at the price of 2 anonymously)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published