Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onechiporenko/swarm-host-platform
Mock server with auto generated related data
https://github.com/onechiporenko/swarm-host-platform
Last synced: about 1 month ago
JSON representation
Mock server with auto generated related data
- Host: GitHub
- URL: https://github.com/onechiporenko/swarm-host-platform
- Owner: onechiporenko
- License: mit
- Created: 2022-01-05T13:47:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T00:42:00.000Z (10 months ago)
- Last Synced: 2024-10-13T08:07:51.035Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 1.39 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swarm Host Platform
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fonechiporenko%2Fswarm-host-platform%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/onechiporenko/swarm-host-platform/master)
[![CI](https://github.com/onechiporenko/swarm-host-platform/actions/workflows/nodejs.yml/badge.svg)](https://github.com/onechiporenko/swarm-host-platform/actions/workflows/nodejs.yml)## About
Monorepo for fake-server, its DB and CLI to work with it.
## Usage
Install CLI:
```bash
npm i -g @swarm-host/cli
```Init a new project:
```bash
mkdir my-new-fake-server
cd my-new-fake-server
swarm-host init
```Create some factories and routes:
```bash
swarm-host g route users
swarm-host g route user
```Start your server:
```bash
npm run start
```Check your server `http://localhost:54321`.
## More information:
* [CLI](https://github.com/onechiporenko/swarm-host-platform/tree/master/packages/cli)
* [Lair](https://github.com/onechiporenko/swarm-host-platform/tree/master/packages/lair)
* [Server](https://github.com/onechiporenko/swarm-host-platform/tree/master/packages/server)
* [UI](https://github.com/onechiporenko/swarm-host-platform/tree/master/packages/ui)