# packaging-service

> Welcome to the packaging-service, the micro-service powering up Packaging. It manages all resources related to Packaging as well as everything related to payments via Stripe.

Latest version **1.0.0** (published 2022-09-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install packaging-service
pnpm add packaging-service
yarn add packaging-service
bun add packaging-service
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-09-30 |
| First published | 2022-09-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 21 |
| Unpacked size | 264.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | streethub-tech |

## Links

- npm: https://www.npmjs.com/package/packaging-service
- Repository: https://github.com/Trouva/packaging-service
- Homepage: https://github.com/Trouva/packaging-service#readme
- Issues: https://github.com/Trouva/packaging-service/issues
- npm.io page: https://npm.io/package/packaging-service

## Dependencies (21)

- [fs](https://npm.io/package/fs.md) 0.0.1-security
- [csv](https://npm.io/package/csv.md) ^6.1.5
- [esm](https://npm.io/package/esm.md) ^3.2.25
- [cors](https://npm.io/package/cors.md) ^2.8.5
- [slug](https://npm.io/package/slug.md) ^5.1.1
- [helmet](https://npm.io/package/helmet.md) ^4.6.0
- [stripe](https://npm.io/package/stripe.md) 8.195.0
- [express](https://npm.io/package/express.md) ^4.17.2
- [mongoose](https://npm.io/package/mongoose.md) ^5.13.14
- [newrelic](https://npm.io/package/newrelic.md) 8.6.0
- [passport](https://npm.io/package/passport.md) ^0.5.2
- [@hapi/joi](https://npm.io/package/@hapi/joi.md) ^17.1.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.6
- [superagent](https://npm.io/package/superagent.md) ^6.1.0
- [body-parser](https://npm.io/package/body-parser.md) ^1.20.0
- [cookie-parser](https://npm.io/package/cookie-parser.md) ^1.4.6
- [@slack/webhook](https://npm.io/package/@slack/webhook.md) ^6.0.0
- [express-session](https://npm.io/package/express-session.md) ^1.17.2
- [@streethub/node-logger](https://npm.io/package/@streethub/node-logger.md) ^4.4.7
- [mongoose-auto-increment](https://npm.io/package/mongoose-auto-increment.md) ^5.0.1
- [@streethub/stacked-error](https://npm.io/package/@streethub/stacked-error.md) ^1.2.2

## Recent versions

- 1.0.0 (latest) — 2022-09-30

## README

# packaging-service

Welcome to the packaging-service, the micro-service powering up Packaging. It manages all resources related to Packaging as well as everything related to payments via Stripe.

## Installation

The first step in order to install packaging-service is to clone this repository into your machine.

```bash
$ git clone git@github.com:Trouva/packaging-service.git
```

After that, jump into the folder.

```bash
$ cd packaging-service
```

Now, you'll need to create and populate the `.env` file. After creating an empty `.env`, go to 1Password and search for "packaging-service .env". Copy the content to your local `.env`.

After that, install this project's dependencies.

```bash
$ nvm use
$ npm install
```

## Development

In order to start the packaging-service locally, it's recommended to use [operations](https://github.com/Trouva/operations). Using operations to run packaging-service is mandatory if you want to connect with your other locally running services such as promenade.

```bash
$ cd ../operations
$ docker-compose up -d packaging
```

## Tests

In order to run the tests, you can simply run the following command

```bash
$ npm test
```

There are other scripts available in  `package.json` to run only a certain subset of tests (e.g. unit).

## Lint 

In order to run all the linters, you can simply run the following command

```bash
$ npm run lint
```

---
_Source: https://npm.io/package/packaging-service · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
