# @brainsbeards/mimic-server

> Mimic Server

Latest version **0.11.1** (published 2022-10-03) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

## Install

```sh
npm install @brainsbeards/mimic-server
pnpm add @brainsbeards/mimic-server
yarn add @brainsbeards/mimic-server
bun add @brainsbeards/mimic-server
```

Provides the commands `generate-cert`, `apimocker_server`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.11.1 |
| Published | 2022-10-03 |
| First published | 2022-06-09 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 72.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Brains & Beards |
| Maintainers | patryk-peszko, sharnik, szymonkoper, redbluenat |

## Links

- npm: https://www.npmjs.com/package/@brainsbeards/mimic-server
- Repository: git@github.com:brains-and-beards/mimic-server
- Homepage: https://github.com/brains-and-beards/mimic-server
- Issues: https://github.com/brains-and-beards/mimic-server/issues
- npm.io page: https://npm.io/package/@brainsbeards/mimic-server

## Dependencies (6)

- [lodash](https://npm.io/package/lodash.md) ^4.17.10
- [moment](https://npm.io/package/moment.md) ^2.22.2
- [express](https://npm.io/package/express.md) ^4.17.1
- [request](https://npm.io/package/request.md) ^2.88.0
- [commander](https://npm.io/package/commander.md) ^2.16.0
- [normalizr](https://npm.io/package/normalizr.md) ^3.2.4

## Recent versions

- 0.11.1 (latest) — 2022-10-03
- 0.11.0 — 2022-09-26
- 0.10.2 — 2022-06-09

## README

# Mimic Server

## Install

`yarn install`

## Run server and watch for configuration changes

`yarn watch`

## Generate a self-signed certificate for serving SSL requests

Running an HTTPS server requires a UNIX-compatible system with
[openssl](https://www.openssl.org/) installed.

- Run `yarn generate-cert`. This will create a certificate-key pair in the
  project directory. (The files will be called `localhost.crt` and
  `localhost.key`, respectively).
- Mark the generated certificate as locally trusted (for example, on Mac OS X,
  add it to keychain and update "trust" preferences).
- The server should now support SSL on port 3001, or a custom `httpsPort`
  specified in the config file (apimocker.json).

## Tests

You can run all the project's unit test suites with `yarn test`.

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