You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Hai Q. Le 42636fdad4 convert path 3 years ago
backup/9
public fix download file error and delete zip file after downloading 3 years ago
src convert path 3 years ago
.babelrc
.dockerignore
.editorconfig
.env.example
.eslintignore
.eslintrc
.gitignore
.gitlab-ci.yml
Dockerfile
README.md
docker-compose.dev-event-dispatcher.yml
docker-compose.dev-worker.yml
docker-compose.dev.yml
docker-compose.yml
package.json fix delete user 3 years ago
process copy.yml
process.yml
yarn.lock add delete 3 years ago

README.md

B2C Backend File

pipeline status

Microservice handles all file logics

Requirements

Getting Started

Install dependencies:

yarn

Set environment variables:

cp .env.example .env

Running Locally

yarn dev

Running in Production

yarn start

Lint

# lint code with ESLint
yarn lint

# try to fix ESLint errors
yarn lint:fix

# lint and watch for changes
yarn lint:watch

Test

# run all tests with Mocha
yarn test

# run unit tests
yarn test:unit

# run integration tests
yarn test:integration

# run all tests and watch for changes
yarn test:watch

# open nyc test coverage reports
yarn coverage

Validate

# run lint and tests
yarn validate

Logs

# show logs in production
pm2 logs