Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seshchat/ass
📱 Mock server for App / Play Store screensots
https://github.com/seshchat/ass
Last synced: 3 months ago
JSON representation
📱 Mock server for App / Play Store screensots
- Host: GitHub
- URL: https://github.com/seshchat/ass
- Owner: seshchat
- Created: 2020-06-26T19:35:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T04:19:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T16:21:04.622Z (7 months ago)
- Language: JavaScript
- Size: 96.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ass
Ass creates a mock REST server for your app to communicate with to fake its state for App Store / Play Store / whatever## Installation
```bash
npm i -g @seshchat/ass
```
```bash
yarn global add @seshchat/ass
```## Usage
Create an `Assfile.json` containing information about your mock server. Here's an example:
```json
{
"name": "SESH",
"port": 4000,"options": [{
"name": "Onboarding",
"endpoints": [{
"method": "POST",
"endpoint": "/graphql","statusCode": 200,
"body": {
"hello": "world"
}
}]
}, {
"name": "Chat","endpoints": [{
"method": "POST",
"endpoint": "/graphql","statusCode": 200,
"body": {
"hello": "world",
"x": 0
}
}]
}]
}
```Then start the Ass server:
```bash
ass ./Assfile.json
```